Initial commit.

This commit is contained in:
Sergey Fedosov
2016-09-03 22:35:07 +03:00
commit 9177854a27
12 changed files with 1057 additions and 0 deletions

18
services/init.d/named Executable file
View File

@@ -0,0 +1,18 @@
#!/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
}