Use SIGHUP for reloading DNS lists

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2018-04-14 11:09:00 +02:00
parent cd332a8eca
commit 998138695a

View File

@@ -12,12 +12,11 @@ PIDFile=/run/pihole-FTL.pid
ExecStartPre=/bin/bash /etc/.pihole/advanced/pihole-FTL-prestart.sh
ExecStart=/bin/su -s /bin/sh -c "/usr/bin/pihole-FTL" "pihole"
ExecReload=/bin/kill -USR1 $MAINPID
ExecReload=/bin/kill -HUP $MAINPID
; Use graceful shutdown with a reasonable timeout
KillMode=mixed
KillSignal=SIGQUIT
TimeoutStopSec=5s
TimeoutStopSec=10s
; Make /usr, /boot, /etc and possibly some more folders read-only...
ProtectSystem=full