Fix systemd service file
This commit is contained in:
parent
2a18fc3715
commit
f8557081cd
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user