summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:26:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:26:32 +0000
commit89f74aed5ffac29d906be4f59fb4a7fc1ce6c3bc (patch)
treef6b1f8838f157f6aec3e32065ef2d4bd0b004ad1 /debian/patches/progress-linux
parentUpdating vcs fields. (diff)
downloadknot-resolver-89f74aed5ffac29d906be4f59fb4a7fc1ce6c3bc.tar.xz
knot-resolver-89f74aed5ffac29d906be4f59fb4a7fc1ce6c3bc.zip
Setting Restart to always in systemd unit.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/progress-linux')
-rw-r--r--debian/patches/progress-linux/0001-kresd-restart.patch15
1 files changed, 15 insertions, 0 deletions
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 <daniel.baumann@progress-linux.org>
+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
+