ferm service

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2017-11-15 16:46:18 +03:00
parent 85617d66a2
commit e6f85aa437
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/watchman
#!/usr/bin/env ssm
service_type=oneshot
service_command=( /usr/bin/true )

9
init.d/ferm Executable file
View 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[@]}"
}