1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Spamassassin daemon After=syslog.target network.target [Service] Type=forking PIDFile=/var/run/spamd.pid ExecStart=/usr/bin/vendor_perl/spamd --pidfile /var/run/spamd.pid -c StandardOutput=syslog StandardError=syslog Restart=always [Install] WantedBy=multi-user.target