summaryrefslogtreecommitdiff
path: root/extra/spamassassin/spamassassin.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-04 00:04:04 +0000
committerroot <root@rshg054.dnsready.net>2012-09-04 00:04:04 +0000
commit8b7b4f2e5a808cb0c1226c23469fa57751eba190 (patch)
treed3b039c682e3991febbfa886b15b31cf09d048b8 /extra/spamassassin/spamassassin.service
parent81de702a6fc79e430129a7d2b708d90f43ae5ba1 (diff)
Tue Sep 4 00:04:04 UTC 2012
Diffstat (limited to 'extra/spamassassin/spamassassin.service')
-rw-r--r--extra/spamassassin/spamassassin.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/spamassassin/spamassassin.service b/extra/spamassassin/spamassassin.service
new file mode 100644
index 000000000..a74f6e644
--- /dev/null
+++ b/extra/spamassassin/spamassassin.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Spamassassin daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/spamd.pid
+ExecStart=/usr/bin/vendor_perl/spamd --pidfile /var/run/spamd.pid -c
+StandardOutput=syslog
+StandardError=syslog
+Restart=always
+
+[Install]
+WantedBy=multi-user.target