summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0001-kresd-restart.patch
blob: 476955c0ee176b89849a5cc6a8984389d8061f4a (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/distro/common/systemd/kresd@.service knot-resolver/distro/common/systemd/kresd@.service
--- knot-resolver.orig/distro/common/systemd/kresd@.service
+++ knot-resolver/distro/common/systemd/kresd@.service
@@ -8,7 +8,7 @@ Type=notify
 WorkingDirectory=/var/cache/knot-resolver
 ExecStart=/usr/sbin/kresd --config=/etc/knot-resolver/kresd.conf
 User=knot-resolver
-Restart=on-failure
+Restart=always
 Sockets=kresd.socket
 Sockets=kresd-tls.socket
 Sockets=kresd-control@%i.socket