summaryrefslogtreecommitdiffstats
path: root/wallace/wallace.systemd
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-20 11:33:34 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-20 11:33:34 +0100
commit07f108b041d21880d6d1fababb78d1c33b447f1f (patch)
tree4c59992479fad22b9e178fa243ffa331a261c157 /wallace/wallace.systemd
parent77d3804884bd6fc13182ec26f8d2d447cda3be61 (diff)
downloadpykolab-07f108b041d21880d6d1fababb78d1c33b447f1f.tar.gz
Rename wallace system files back to the intended names
Diffstat (limited to 'wallace/wallace.systemd')
-rw-r--r--wallace/wallace.systemd15
1 files changed, 15 insertions, 0 deletions
diff --git a/wallace/wallace.systemd b/wallace/wallace.systemd
new file mode 100644
index 0000000..73c16d7
--- /dev/null
+++ b/wallace/wallace.systemd
@@ -0,0 +1,15 @@
+[Unit]
+Description=Wallace Content Filter
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/wallaced/wallaced.pid
+EnvironmentFile=/etc/sysconfig/wallace
+ExecStart=/usr/sbin/wallace $FLAGS
+ExecReload=/bin/kill -HUP $MAINPID
+ExecStop=/bin/kill -TERM $MAINPID
+
+[Install]
+WantedBy=multi-user.target
+