Revert "Only use "kill" as done in the upstream docs"

This reverts commit 829d53915d.

This breaks on Ubuntu 18

systemd[1]: /etc/systemd/system/unbound.service:12: Executable path is not absolute: kill -HUP $MAINPID
This commit is contained in:
Girish Ramakrishnan
2023-03-29 11:18:44 +02:00
parent 00767d583c
commit 928e61e0f6
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=kill -HUP $MAINPID
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
# On ubuntu 16, this doesn't work for some reason
Type=notify