spamassassin/spamassassin.service

17 lines
372 B
SYSTEMD
Raw Normal View History

2011-08-13 21:49:32 +00:00
[Unit]
Description=Spamassassin daemon
2011-09-13 00:53:39 +00:00
After=syslog.target network.target
2011-08-13 21:49:32 +00:00
[Service]
2011-09-13 00:53:39 +00:00
Type=forking
PIDFile=/var/run/spamd.pid
EnvironmentFile=-/etc/sysconfig/spamassassin
2011-08-13 21:49:32 +00:00
ExecStartPre=-/sbin/portrelease spamd
ExecStart=/usr/bin/spamd --pidfile /var/run/spamd.pid $SPAMDOPTIONS
2011-08-13 21:49:32 +00:00
StandardOutput=syslog
2011-09-13 00:53:39 +00:00
StandardError=syslog
Restart=always
2011-08-13 21:49:32 +00:00
[Install]
WantedBy=multi-user.target