summaryrefslogtreecommitdiff
path: root/net-dns/coredns/files/coredns.initd
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/coredns/files/coredns.initd')
-rw-r--r--net-dns/coredns/files/coredns.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-dns/coredns/files/coredns.initd b/net-dns/coredns/files/coredns.initd
index bea612d7d5e0..1a14214a541d 100644
--- a/net-dns/coredns/files/coredns.initd
+++ b/net-dns/coredns/files/coredns.initd
@@ -7,9 +7,10 @@ pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
user=${user:-root}
group=${group:-root}
+supervisor="supervise-daemon"
command="/usr/bin/coredns"
command_args="${command_args}"
-command_background="true"
+
start_stop_daemon_args="--user ${user} --group ${group} \
--stdout /var/log/${SVCNAME}/${SVCNAME}.log \
--stderr /var/log/${SVCNAME}/${SVCNAME}.log"