diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-05-14 22:00:36 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:53:27 +0200 |
commit | 166804e99e33c8ec5760e88ba1f52d4fc301334c (patch) | |
tree | 706ca108db27e2e6f1c696bdd3f72e6d1f2ce5fa /roles/lists/files/lib/systemd | |
parent | 334b7604727810c02ecb8942f3753dee15466691 (diff) |
Configure the list manager (Sympa).
Diffstat (limited to 'roles/lists/files/lib/systemd')
-rw-r--r-- | roles/lists/files/lib/systemd/system/wwsympa.service | 14 | ||||
-rw-r--r-- | roles/lists/files/lib/systemd/system/wwsympa.socket | 11 |
2 files changed, 25 insertions, 0 deletions
diff --git a/roles/lists/files/lib/systemd/system/wwsympa.service b/roles/lists/files/lib/systemd/system/wwsympa.service new file mode 100644 index 0000000..ea2a78f --- /dev/null +++ b/roles/lists/files/lib/systemd/system/wwsympa.service @@ -0,0 +1,14 @@ +[Unit] +Description=WWSympa Service +After=network.target +PartOf=sympa.service +Requires=wwsympa.socket + +[Service] +StandardInput=socket +User=sympa +Group=sympa +ExecStart=/usr/lib/cgi-bin/sympa/wwsympa.fcgi + +[Install] +WantedBy=multi-user.target diff --git a/roles/lists/files/lib/systemd/system/wwsympa.socket b/roles/lists/files/lib/systemd/system/wwsympa.socket new file mode 100644 index 0000000..10fe721 --- /dev/null +++ b/roles/lists/files/lib/systemd/system/wwsympa.socket @@ -0,0 +1,11 @@ +[Unit] +Description=WWSympa Listen Socket + +[Socket] +SocketUser=www-data +SocketGroup=www-data +SocketMode=0600 +ListenStream=/run/wwsympa.socket + +[Install] +WantedBy=sockets.target |