[Pkg-systemd-maintainers] Bug#739465: systemd support for milter-greylist

Christian Dröge person at christian-droege.de
Tue Feb 18 23:47:34 GMT 2014


Package: milter-greylist
Version: 4.3.9-1
Severity: wishlist
Tags: patch
User: pkg-systemd-maintainers at lists.alioth.debian.org
Usertags: systemd-units
X-Debbugs-CC: pkg-systemd-maintainers at lists.alioth.debian.org


Hi,

the attached patch adds support for systemd. There is a notable change
compared to the init script. The service file will not use the values in
/etc/default/milter-greylist, because I believe, that this file is not
needed. A user can change some settings there that can also be changed
in the main configuration file (e.g pidfile, socketfile, user, etc.).

The patch changes the init script, so that it sources
/lib/lsb/init-functions. This is needed for invoking the init script
under systemd directly.

I would also recommend to upgrade the package to 4.4.3, because it fixes
the duplicate logging, when running milter-greylist in the foreground
(-D parameter). This mode is used by the service file.

If desired, I could also write some paragraphs for README.Debian, that
gives some pointers how to run milter-greylist with postfix under
systemd, so that users do not have the problem as described in #554239.

Best regards
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemd_milter_greylist.patch
Type: text/x-patch
Size: 3079 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140219/4f41edc1/attachment-0002.bin>


More information about the Pkg-systemd-maintainers mailing list