Created attachment 384324 [details] systemd service file Please, add optional USE="systemd" for net-dns/nsd package. If flag is enabled attached service file should appear in /usr/lib/systemd/system directory. Thanks!
I updated the ebuild for upcoming nsd 4.1.0 ebuild to include this. I don't use systemd myself, so I'm unable to verify if it actually works, but it looks reasonable. Until the ebuild is in portage, you can try the ebuild from my overlay: https://svn.whyscream.net/whyscream-overlay/experimental/net-dns/nsd/
was it committed to the main tree?
Installation of systemd units should not be conditional on a use flag. https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy
systemd USE flag is removed, unit file will be installed unconditionally. Now waiting for wschlich or proxy-maint again.
I made a couple of tweaks and committed it. Feel free to ping me if I broke anything. +*nsd-3.2.18 (28 Sep 2014) +*nsd-4.1.0 (28 Sep 2014) + + 28 Sep 2014; Mike Gilbert <floppym@gentoo.org> +files/nsd.service, + +nsd-3.2.18.ebuild, +nsd-4.1.0.ebuild, -nsd-3.2.16.ebuild, -nsd-3.2.17.ebuild, + -nsd-4.0.0.ebuild, -nsd-4.0.3.ebuild: + Version bumps, remove old. Install systemd unit, bug 522290. Move user + creation to pkg_postinst for improved binpkg handling.