This commit is contained in:
Jack L. Frost 2015-01-27 10:16:07 +03:00
parent 8bab91cc17
commit b22897ced1
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
}