summarylogtreecommitdiffstats
path: root/cgpav-spamassassin.service
diff options
context:
space:
mode:
Diffstat (limited to 'cgpav-spamassassin.service')
-rw-r--r--cgpav-spamassassin.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/cgpav-spamassassin.service b/cgpav-spamassassin.service
new file mode 100644
index 00000000000..a71f6312f7e
--- /dev/null
+++ b/cgpav-spamassassin.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Spamassassin daemon for Communigate Pro
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/spamd.pid
+ExecStart=/usr/bin/vendor_perl/spamd -d --pidfile /var/run/spamd.pid --socketpath /var/run/spamd.ctl -c -c -x --virtual-config-dir=/var/lib/spamassassin -u spamd -g spamd
+StandardOutput=syslog
+StandardError=syslog
+Restart=always
+
+[Install]
+WantedBy=multi-user.target