[Pkg-dns-devel] Bug#866804: unbound: please start with Type=forking to wait for successful initialisation
Peter Colberg
peter at colberg.org
Sat Jul 1 20:06:11 UTC 2017
Source: unbound
Version: 1.6.0-3
Severity: normal
Dear Maintainer,
Please improve unbound.service to wait for unbound to initialise:
[Service]
Type=forking
Restart=on-failure
EnvironmentFile=-/etc/default/unbound
ExecStartPre=-/usr/lib/unbound/package-helper chroot_setup
ExecStartPre=-/usr/lib/unbound/package-helper root_trust_anchor_update
ExecStart=/usr/sbin/unbound $DAEMON_OPTS
ExecReload=/usr/sbin/unbound-control reload
Forking to the background (Type=forking) is the recommended way to
signal to systemd that a daemon has initialised successfully and is
ready for operation; at least for daemons without explicit systemd
support (Type=notify).
Regards,
Peter
More information about the pkg-dns-devel
mailing list