From fe2b59c5bce2fdde373252f0f37177bda08045ac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 02:56:08 +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/0001-kresd-restart.patch') 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 +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 -- cgit v1.2.3