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
|
2012-01-19 20:23:39 +00:00
|
|
|
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
|
2012-08-03 19:39:45 +00:00
|
|
|
Restart=always
|
2011-08-13 21:49:32 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|