Merge branch 'master' of builder:git/watchman-services

This commit is contained in:
Jack L. Frost 2015-02-12 13:05:24 +03:00
commit c45259af6a
1 changed files with 10 additions and 0 deletions

10
init.d/znet Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env watchman
service_type='oneshot'
service_command='/usr/local/sbin/znet'
service_args='-d'
stop() {
"$service_command" $service_args down
watchman.stop
}