summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0001-kresd-restart.patch
blob: 08754d64fa169030be034ab12aa6cf3006c66000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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