Add an OpenRC service script and config file under contrib/. The service script is integrated with the build system so that the correct paths are obtained from ./configure and do not need to be hard-coded. (This requires >=autoconf-2.70.) Tested on Gentoo, but it should work on other distros that use OpenRC as well.
Add a tmpfiles entry under contrib/ for both systemd and OpenRC. If installed, this will create at a boot a temporary "nsd" directory writable by the nsd user. This makes it easier to use a local control socket because the user no longer has to worry about creating the directory where the socket will live.
Tweak the default config to show an example of using a local socket in the tmpfiles location.
Add an OpenRC service script and config file under
contrib/
. The service script is integrated with the build system so that the correct paths are obtained from./configure
and do not need to be hard-coded. (This requires >=autoconf-2.70.) Tested on Gentoo, but it should work on other distros that use OpenRC as well.Add a tmpfiles entry under
contrib/
for both systemd and OpenRC. If installed, this will create at a boot a temporary "nsd" directory writable by the nsd user. This makes it easier to use a local control socket because the user no longer has to worry about creating the directory where the socket will live.Tweak the default config to show an example of using a local socket in the tmpfiles location.