Upstream does not supply unbound with systemd units. Reproducible: Always
--- /usr/portage/net-dns/unbound/unbound-1.4.21.ebuild 2013-09-21 02:31:10.000000000 -0400 +++ overlay/net-dns/unbound/unbound-1.4.21-r1.ebuild 2013-11-19 16:17:25.878156317 -0500 @@ -5,7 +5,7 @@ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7} ) -inherit eutils flag-o-matic python-single-r1 user +inherit eutils flag-o-matic python-single-r1 user systemd DESCRIPTION="A validating, recursive and caching DNS resolver" HOMEPAGE="http://unbound.net/" @@ -91,6 +91,10 @@ newinitd "${FILESDIR}"/unbound.initd unbound newconfd "${FILESDIR}"/unbound.confd unbound + systemd_dounit "${FILESDIR}"/unbound.service + systemd_newunit "${FILESDIR}"/unbound_.service "unbound@.service" + systemd_dounit "${FILESDIR}"/unbound-anchor.service + dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} # bug #315519
Created attachment 363596 [details] unbound.sevice Systemd unit for unbound with default config file.
Created attachment 363598 [details] unbound_at.sevice Systemd unit for starting unbound with a specific config file.
Created attachment 363600 [details] unbound-anchor.service Systemd oneshot unit for updating the DNSSEC anchor file.
I made an error in the diff above, unbound@.service should be named unbound_at.sevice rather than unbound_.service. --- /usr/portage/net-dns/unbound/unbound-1.4.21.ebuild 2013-09-21 02:31:10.000000000 -0400 +++ unbound-1.4.21-r1.ebuild 2013-11-19 16:30:04.912667080 -0500 @@ -5,7 +5,7 @@ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7} ) -inherit eutils flag-o-matic python-single-r1 user +inherit eutils flag-o-matic python-single-r1 user systemd DESCRIPTION="A validating, recursive and caching DNS resolver" HOMEPAGE="http://unbound.net/" @@ -91,6 +91,10 @@ newinitd "${FILESDIR}"/unbound.initd unbound newconfd "${FILESDIR}"/unbound.confd unbound + systemd_dounit "${FILESDIR}"/unbound.service + systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service" + systemd_dounit "${FILESDIR}"/unbound-anchor.service + dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} # bug #315519
+*unbound-1.4.21-r1 (23 Nov 2013) + + 23 Nov 2013; Pacho Ramos <pacho@gentoo.org> +files/unbound-anchor.service, + +files/unbound.service, +files/unbound_at.service, +unbound-1.4.21-r1.ebuild: + Add unit file (#491712 by Emery Hemingway) +