From 166804e99e33c8ec5760e88ba1f52d4fc301334c Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 14 May 2015 22:00:36 +0200 Subject: Configure the list manager (Sympa). --- roles/lists/files/lib/systemd/system/wwsympa.service | 14 ++++++++++++++ roles/lists/files/lib/systemd/system/wwsympa.socket | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 roles/lists/files/lib/systemd/system/wwsympa.service create mode 100644 roles/lists/files/lib/systemd/system/wwsympa.socket (limited to 'roles/lists/files/lib/systemd') 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 -- cgit v1.2.3