There is no support for systemd in spamassassin. Reproducible: Always Steps to Reproduce: 1. switch to systemd ;-) 2. try to start spamd There are some spamassassin.service files floating around, e.g. http://lists.fedoraproject.org/pipermail/scm-commits/2011-August/647663.html The following hack works for me: spamassassin.service [Unit] Description=Spamassassin daemon [Service] EnvironmentFile=/etc/conf.d/spamd ExecStart=/usr/sbin/spamd -m 5 -c Restart=always StandardOutput=syslog [Install] WantedBy=multi-user.target
Looks like unit file is a bit different between distros: http://pkgs.fedoraproject.org/cgit/spamassassin.git/tree/spamassassin.service -> relies in /etc/sysconfig for configuration https://projects.archlinux.org/svntogit/packages.git/tree/trunk/spamassassin.service?h=packages/spamassassin -> doesn't have configuration file
Reading conf.d file looks like we can go ahead with the Arch approach (no config) as the other options are deep enough to deserve a creation of a custom unit by the user (currently, options provided by the conf.d file even requires editing of init.d file) I will review and commit in a week if nobody disagrees. Thanks
+*spamassassin-3.3.2-r2 (30 Aug 2013) + + 30 Aug 2013; Pacho Ramos <pacho@gentoo.org> +files/spamassassin.service, + +spamassassin-3.3.2-r2.ebuild: + Add unit file (#465542 by August Hörandl) +