From: Michael Tremer Date: Fri, 10 May 2024 13:18:12 +0000 (+0100) Subject: unbound-dhcp-leases-bridge: Terminate on SIGINT X-Git-Tag: v2.29-core188~10^2~86^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72f4fccbe43a0b6cbc8b78f6e6a91d205d6d8687;p=ipfire-2.x.git unbound-dhcp-leases-bridge: Terminate on SIGINT Signed-off-by: Michael Tremer --- diff --git a/config/unbound/unbound-dhcp-leases-bridge b/config/unbound/unbound-dhcp-leases-bridge index 7f89f620a1..ba5cd82262 100644 --- a/config/unbound/unbound-dhcp-leases-bridge +++ b/config/unbound/unbound-dhcp-leases-bridge @@ -609,6 +609,7 @@ if __name__ == "__main__": stderr=None if args.daemon else sys.stderr, signal_map = { signal.SIGHUP : bridge.update_dhcp_leases, + signal.SIGINT : bridge.terminate, signal.SIGTERM : bridge.terminate, }, ) as daemon: