forked from Spark/ssm-services
ferm service
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
85617d66a2
commit
e6f85aa437
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/watchman
|
#!/usr/bin/env ssm
|
||||||
|
|
||||||
service_type=oneshot
|
service_type=oneshot
|
||||||
service_command=( /usr/bin/true )
|
service_command=( /usr/bin/true )
|
||||||
|
|
9
init.d/ferm
Executable file
9
init.d/ferm
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env ssm
|
||||||
|
|
||||||
|
service_type='oneshot'
|
||||||
|
service_command='/usr/bin/ferm'
|
||||||
|
service_args=( /etc/ferm.conf )
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
"$service_command" "${service_args[@]}"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user