Only use "kill" as done in the upstream docs

https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecReload=
This commit is contained in:
Johannes Zellner
2023-01-09 20:18:51 +01:00
parent 144fc7b7be
commit 829d53915d
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ Wants=network-online.target nss-lookup.target
[Service]
PIDFile=/run/unbound.pid
ExecStart=/usr/sbin/unbound -d
ExecReload=/bin/kill -HUP $MAINPID
ExecReload=kill -HUP $MAINPID
Restart=always
# On ubuntu 16, this doesn't work for some reason
Type=notify