aboutsummaryrefslogtreecommitdiffstats
path: root/community/knot-resolver/kresd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/knot-resolver/kresd.initd')
-rw-r--r--community/knot-resolver/kresd.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/knot-resolver/kresd.initd b/community/knot-resolver/kresd.initd
index 4405aeeb6e..1ef4b19560 100644
--- a/community/knot-resolver/kresd.initd
+++ b/community/knot-resolver/kresd.initd
@@ -4,12 +4,13 @@
: ${cfgfile:=${config:-"/etc/knot-resolver/kresd.conf"}}
: ${cachedir:="/var/cache/knot-resolver"}
: ${output_logger="logger -t kresd -p daemon.info"}
+: ${wait:=100}
command="/usr/sbin/kresd"
command_args="--noninteractive --config=$cfgfile $cachedir"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
-start_stop_daemon_args="--chdir=$cachedir"
+start_stop_daemon_args="--chdir=$cachedir --wait $wait"
required_files="$cfgfile"
depend() {