Fix systemd service file

This commit is contained in:
Nick Bebout 2011-09-12 19:53:39 -05:00
parent 2a18fc3715
commit f8557081cd

View File

@ -1,13 +1,15 @@
[Unit]
Description=Spamassassin daemon
After=syslog.target network.target
[Service]
EnvironmentFile=/etc/sysconfig/spamassassin
Type=forking
PIDFile=/var/run/spamd.pid
EnvironmentFile=-/etc/sysconfig/spamassassin
ExecStartPre=-/sbin/portrelease spamd
ExecStart=/usr/bin/spamd ${SPAMDOPTIONS}
Restart=always
ExecStart=/usr/bin/spamd $SPAMDOPTIONS
StandardOutput=syslog
StandardError=syslog
[Install]
WantedBy=multi-user.target