]> git.ipfire.org Git - thirdparty/unbound.git/commit
unbound.service.in: don't write pidfile at start 151/head
authorMaryse47 <41080948+Maryse47@users.noreply.github.com>
Tue, 28 Jan 2020 17:47:21 +0000 (18:47 +0100)
committerMaryse47 <41080948+Maryse47@users.noreply.github.com>
Tue, 28 Jan 2020 18:03:18 +0000 (19:03 +0100)
commit9aa4b5a7a61f3fc03d49e904cca6d31523e8b073
tree6640b5e33cb01ec1126ed90fd8ecff513ca50c2d
parent939cf38576727ac2f52d3aacae4b446caad039e5
unbound.service.in: don't write pidfile at start

Pidfiles aren't needed while running unbound through systemd.
The PID of the unbound daemon can still be obtained with:
'systemctl show --property MainPID --value unbound'.

While disabling pidfiles we can also drop CAP_CHOWN and writable
/run directory.
contrib/unbound.service.in
contrib/unbound_portable.service.in