diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/progress-linux/0001-kresd-restart.patch | 15 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 16 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..476955c --- /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/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 diff --git a/debian/patches/series b/debian/patches/series index 815a16c..c43cb70 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ 0001-Update-documentation-of-keyfile-ro.patch 0002-avoid-invocations-of-git-during-make-installcheck.patch 0003-Avoid-clobbering-CXX-flags-when-compiling-lua-aho-co.patch +progress-linux/0001-kresd-restart.patch |