diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:42:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:42:18 +0000 |
commit | 57efc0cbb8dfa26d86cff816c8b60bd1d6c0b883 (patch) | |
tree | 5fada5fc2dae3836bc72065e754f5ea2fde1d001 | |
parent | Updating vcs fields. (diff) | |
download | knot-resolver-57efc0cbb8dfa26d86cff816c8b60bd1d6c0b883.tar.xz knot-resolver-57efc0cbb8dfa26d86cff816c8b60bd1d6c0b883.zip |
Setting Restart to always in systemd unit.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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..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 + diff --git a/debian/patches/series b/debian/patches/series index f8a7357..db170a3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 0001-treewide-fix-unaligned-access.patch 0002-validator-avoid-assertion-in-an-edge-case.patch +progress-linux/0001-kresd-restart.patch |