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