-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1362 from ikedas/systemd_socket by xavierba & ikedas
Add unit/socket files to make use of multiwatch
- Loading branch information
Showing
23 changed files
with
139 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Files to support service management | ||
=================================== | ||
|
||
SysVinit | ||
-------- | ||
|
||
* sympa | ||
|
||
Generic init script for the system derived from System V. | ||
|
||
Systemd | ||
------- | ||
|
||
* sympa-archive.service | ||
* sympa-bounce.service | ||
* sympa-outgoing.service | ||
* sympa-task.service | ||
* sympa.service | ||
|
||
Units for Sympa services. Copy these files into Systemd system directory. | ||
|
||
* sympa-tmpfiles.conf | ||
|
||
Definition of ephemeral directory. | ||
|
||
* wwsympa-multiwatch.service | ||
* wwsympa-multiwatch.socket | ||
* sympasoap-multiwatch.service | ||
* sympasoap-multiwatch.socket | ||
|
||
Units for WWSympa and SympaSOAP, using multiwatch. Copy these files as | ||
`wwsympa.service`, `wwsympa.socket` and so on into Systemd system | ||
directory. | ||
|
||
* wwsympa-spawn-fcgi.service | ||
* sympasoap-spawn-fcgi.service | ||
|
||
Units for WWSympa and SympaSOAP, using spawn-fcgi. Copy these files as | ||
`wwsympa.service`, `wwsympa.socket` and so on into Systemd system | ||
directory. | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[Unit] | ||
Description=Sympa SOAP interface FastCGI backend | ||
After=sympa.service | ||
Requires=sympasoap.socket | ||
|
||
[Service] | ||
User=--USER-- | ||
Group=--GROUP-- | ||
ExecStart=/usr/bin/multiwatch \ | ||
-f $SOAP_FCGI_CHILDREN -- \ | ||
--execcgidir--/sympa_soap_server.fcgi | ||
StandardOutput=null | ||
StandardInput=socket | ||
StandardError=journal | ||
Environment="SOAP_FCGI_CHILDREN=2" | ||
EnvironmentFile=-/etc/default/sympa | ||
EnvironmentFile=-/etc/sysconfig/sympa | ||
Restart=always | ||
RestartSec=5 | ||
|
||
[Install] | ||
Also=sympasoap.socket | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Sympa SOAP interface socket | ||
|
||
[Socket] | ||
SocketUser=nobody | ||
SocketMode=0600 | ||
ListenStream=--piddir--/sympasoap.socket | ||
|
||
[Install] | ||
WantedBy=sockets.target |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[Unit] | ||
Description=Sympa web interface FastCGI backend | ||
After=sympa.service | ||
Requires=wwsympa.socket | ||
|
||
[Service] | ||
User=--USER-- | ||
Group=--GROUP-- | ||
ExecStart=/usr/bin/multiwatch \ | ||
-f $WWS_FCGI_CHILDREN -- \ | ||
--execcgidir--/wwsympa.fcgi | ||
StandardOutput=null | ||
StandardInput=socket | ||
StandardError=journal | ||
Environment="WWS_FCGI_CHILDREN=5" | ||
EnvironmentFile=-/etc/default/sympa | ||
EnvironmentFile=-/etc/sysconfig/sympa | ||
Restart=always | ||
RestartSec=5 | ||
|
||
[Install] | ||
Also=wwsympa.socket | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Sympa web interface socket | ||
|
||
[Socket] | ||
SocketUser=nobody | ||
SocketMode=0600 | ||
ListenStream=--piddir--/wwsympa.socket | ||
|
||
[Install] | ||
WantedBy=sockets.target |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.