Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498716 - mail-filter/spamassassin-3.3.2-r4 - add `reload' to systemd service unit
Summary: mail-filter/spamassassin-3.3.2-r4 - add `reload' to systemd service unit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 18:24 UTC by Evert
Modified: 2014-02-01 19:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evert 2014-01-20 18:24:23 UTC
The spamassassin service for systemd lacks a reload function. This is available for OpenRC, but not implemented in the systemd service unit. This should be implemented using:

ExecReload=/bin/kill -HUP $MAINPID

Furthermore, I think the pidfile should be /run/spamd.pid (not /var/run/spamd.pid), but you might find that off topic here...
Comment 1 Pacho Ramos gentoo-dev 2014-02-01 19:06:22 UTC
+  01 Feb 2014; Pacho Ramos <pacho@gentoo.org> files/spamassassin.service-r1:
+  Add an option for reloading and move to /run instead of /var/run (#498716 by
+  Evert)
+