summaryrefslogtreecommitdiff
path: root/extra/spamassassin/spamassassin.service
blob: 6e6b1f35b6af3204c4a12399204a731be92bc8bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Spamassassin daemon
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 -c -c -x --virtual-config-dir=/var/lib/spamassassin -u spamd -g spamd
StandardOutput=syslog
StandardError=syslog
Restart=always

[Install]
WantedBy=multi-user.target