You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
368 B
14 lines
368 B
#!/sbin/openrc-run
|
|
|
|
name="$SVCNAME"
|
|
directory="{{ coredns_conf_dir }}"
|
|
command="/usr/bin/coredns"
|
|
command_args="-conf ${COREDNS_CONFIG} ${COREDNS_EXTRA_ARGS}"
|
|
command_user="{{ coredns_user }}:{{ coredns_group }}"
|
|
pidfile="/var/run/$SVCNAME.pid"
|
|
command_background=true
|
|
start_stop_daemon_args="--stdout-logger logger --stderr-logger logger"
|
|
|
|
depend() {
|
|
after net
|
|
}
|
|
|