forked from Spark/ssm-services
Merge branch 'master' of builder:git/watchman-services
This commit is contained in:
commit
c45259af6a
10
init.d/znet
Executable file
10
init.d/znet
Executable 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user