blob: 85a14cdf3692fd363926cadc15877e94bdef737d [file] [log] [blame]
#!/bin/sh /etc/rc.common
START=99
USE_PROCD=1
start_service() {
[ -e /etc/powerdns/pdns.conf ] || return 1
procd_open_instance
procd_set_param command /usr/sbin/pdns_server --daemon=no --guardian=no
procd_set_param file /etc/powerdns/pdns.conf
procd_set_param respawn
procd_close_instance
}