Fix systemd service file
This commit is contained in:
parent
2a18fc3715
commit
f8557081cd
@ -1,13 +1,15 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Spamassassin daemon
|
Description=Spamassassin daemon
|
||||||
|
After=syslog.target network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/etc/sysconfig/spamassassin
|
Type=forking
|
||||||
|
PIDFile=/var/run/spamd.pid
|
||||||
|
EnvironmentFile=-/etc/sysconfig/spamassassin
|
||||||
ExecStartPre=-/sbin/portrelease spamd
|
ExecStartPre=-/sbin/portrelease spamd
|
||||||
ExecStart=/usr/bin/spamd ${SPAMDOPTIONS}
|
ExecStart=/usr/bin/spamd $SPAMDOPTIONS
|
||||||
Restart=always
|
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
|
StandardError=syslog
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user