summaryrefslogtreecommitdiffstats
path: root/wallace/wallace.systemd
diff options
context:
space:
mode:
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
+