summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorPetr Špaček <petr.spacek@nic.cz>2019-10-08 14:56:12 +0200
committerPetr Špaček <petr.spacek@nic.cz>2019-10-08 17:24:22 +0200
commitc4205eef9aaa98551c1b85dff2f569bef8792a40 (patch)
tree5f2b256ac586989f3a8e6b9bfd5d560819f9b9cd /systemd
parentMerge branch 'setrlimit' into 'master' (diff)
downloadknot-resolver-c4205eef9aaa98551c1b85dff2f569bef8792a40.tar.xz
knot-resolver-c4205eef9aaa98551c1b85dff2f569bef8792a40.zip
watchdog rewrite
The watchdog module now can be loaded without systemd, has customisable callbacks, and can do real DNS queries and check their results.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/kresd@.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/kresd@.service.in b/systemd/kresd@.service.in
index 19531743..d048782a 100644
--- a/systemd/kresd@.service.in
+++ b/systemd/kresd@.service.in
@@ -12,6 +12,7 @@ ExecStart=@sbin_dir@/kresd --config=@etc_dir@/kresd.conf
User=@user@
TimeoutStopSec=10s
WatchdogSec=10s
+RestartForceExitStatus=69
Restart=on-abnormal
LimitNOFILE=1048576
Sockets=kresd.socket