19 lines
363 B
Plaintext
Executable File
19 lines
363 B
Plaintext
Executable File
#!/opt/bin/watchman
|
|
# named init script for watchman
|
|
|
|
ROOTDIR='/share/MD0_DATA/.qpkg/Optware'
|
|
service_command="${ROOTDIR}/etc/named/named.fucked"
|
|
service_respawn=true
|
|
service_logfile='/share/Public/logs/named/named.log'
|
|
|
|
unset reload
|
|
|
|
start() {
|
|
while [ ! -x /opt/sbin/named ]; do sleep 1; done
|
|
watchman.start
|
|
}
|
|
|
|
status() {
|
|
/opt/sbin/rndc -s 127.0.0.1 status
|
|
}
|