[Pkg-systemd-maintainers] spamassassin: systemd unit file

Michael Stapelberg stapelberg at debian.org
Sun Jul 14 13:37:44 BST 2013


Hi Shawn,

why did you not contact pkg-systemd-maintainers before filing this
bug? You are missing the usertag we use for tracking systemd-unit bugs
and your service file does not follow best practices.

Please contact us before filing any more of these bugs.

For the record, here is my proposed modification of the service file:

--- i/debian/spamassassin.service
+++ w/debian/spamassassin.service
@@ -2,8 +2,6 @@
 Description=Perl-based spam filter using text analysis
 
 [Service]
-EnvironmentFile=-/etc/default/spamassassin
-ExecStartPre=/usr/bin/test 0 != ${ENABLED}
 ExecStart=/usr/sbin/spamd
 ExecReload=/bin/kill -HUP $MAINPID

To disable services with systemd, users use “systemctl disable
spamassassin.service” (or enable to enable).

Updated patch attached.

-- 
Best regards,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-systemd-spamassassin.service.patch
Type: text/x-diff
Size: 1773 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130714/e3c2ed1b/attachment-0001.patch>


More information about the Pkg-systemd-maintainers mailing list