summaryrefslogtreecommitdiff
path: root/spamassassin-courier/spamassassin.service
diff options
context:
space:
mode:
Diffstat (limited to 'spamassassin-courier/spamassassin.service')
-rw-r--r--spamassassin-courier/spamassassin.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/spamassassin-courier/spamassassin.service b/spamassassin-courier/spamassassin.service
new file mode 100644
index 00000000..e8d10a72
--- /dev/null
+++ b/spamassassin-courier/spamassassin.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Spamassassin daemon
+After=syslog.target network.target
+
+[Service]
+ExecStart=/usr/bin/vendor_perl/spamd -x -u spamd -g spamd
+StandardOutput=null
+StandardError=null
+Restart=always
+
+[Install]
+WantedBy=multi-user.target