[Pkg-systemd-maintainers] Bug#718212: [PATCH] add systemd service file

Michael Stapelberg stapelberg at debian.org
Sun Jul 28 20:40:05 BST 2013


Package: bind9
Version: 1:9.8.4.dfsg.P1-6+nmu2
Severity: normal
Tags: patch
User: pkg-systemd-maintainers at lists.alioth.debian.org
Usertags: systemd-units

Hi,

Attached you can find a patch which adds systemd service files to the
bind9 source package. It covers both bind9 and lwresd.

The systemd service files provide the same functionality as the init
script did, but with a slightly different interface:

 • The OPTIONS variable is implicitly provided by the override
   functionality of systemd: instead of sourcing /etc/default/bind9, the
   system administrator can create
   /etc/systemd/system/bind9.service.d/different-user.conf (starting
   with systemd ≥ 198, for older versions you can use .include) and
   specify the directives she wants to add/overwrite in that file.

 • The RESOLVCONF variable is provided by the additional service file
   bind9-resolvconf.service, which the system administrator can enable
   in case she wants to use the local BIND server as nameserver using
   resolvconf(8).

I also attached a debdiff between the version currently in Debian and a
version built with my patch. Use:

    colordiff --difftype=debdiff < systemd.debdiff

(colordiff's highlighting is not entirely correct, but very helpful.)

For more details on systemd packaging, see
http://wiki.debian.org/Systemd/Packaging
In case of any questions, feel free to drop by in #debian-systemd or
send an email to pkg-systemd-maintainers at lists.alioth.debian.org

-- 
Best regards,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemd.debdiff
Type: application/octet-stream
Size: 12468 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130728/10db17fd/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-systemd-service-files-for-bind9-and-lwresd.patch
Type: text/x-diff
Size: 4041 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130728/10db17fd/attachment-0002.patch>


More information about the Pkg-systemd-maintainers mailing list