From 89f74aed5ffac29d906be4f59fb4a7fc1ce6c3bc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:26:32 +0200 Subject: Setting Restart to always in systemd unit. Signed-off-by: Daniel Baumann --- debian/patches/progress-linux/0001-kresd-restart.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 debian/patches/progress-linux/0001-kresd-restart.patch (limited to 'debian/patches/progress-linux') diff --git a/debian/patches/progress-linux/0001-kresd-restart.patch b/debian/patches/progress-linux/0001-kresd-restart.patch new file mode 100644 index 0000000..08754d6 --- /dev/null +++ b/debian/patches/progress-linux/0001-kresd-restart.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Always restarting kresd for resilience reasons. + +diff -Naurp knot-resolver.orig/systemd/kresd@.service.in knot-resolver/systemd/kresd@.service.in +--- knot-resolver.orig/systemd/kresd@.service.in ++++ knot-resolver/systemd/kresd@.service.in +@@ -20,7 +20,7 @@ CapabilityBoundingSet=CAP_NET_BIND_SERVI + AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_SETPCAP + TimeoutStopSec=10s + WatchdogSec=10s +-Restart=on-abnormal ++Restart=always + LimitNOFILE=524288 + Slice=system-kresd.slice + -- cgit v1.2.3