]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Start using rec_control quit-nicely to stop rec runing under systemd's control
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 18 Dec 2024 13:41:19 +0000 (14:41 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 10 Feb 2025 13:01:07 +0000 (14:01 +0100)
pdns/recursordist/pdns-recursor.service.in

index 91d81fe1968d7466912c2c341b92d9a2091f5df4..a914473c7a852dba13aba8f08858ea78a8a8ecc1 100644 (file)
@@ -7,6 +7,7 @@ After=network-online.target time-sync.target
 
 [Service]
 ExecStart=@sbindir@/pdns_recursor --daemon=no --write-pid=no --disable-syslog --log-timestamp=no
+ExecStop=@bindir@/rec_control --socket-dir=%t/pdns-recursor quit-nicely
 User=@service_user@
 Group=@service_group@
 Type=notify