Skip to content
projects
/
aports
·
blob
master ·
refs
aports
testing
foolsm
foolsm.initd
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
11 lines · 218 B
1
#!/sbin/openrc-run
2
3
command=/usr/sbin/foolsm
4
5
if yesno "$use_supervisor"; then
6
command_args_foreground="-f"
7
supervisor=supervise-daemon
8
else
9
pidfile="/run/$RC_SVCNAME.pid"
10
command_args="-p $pidfile"
11
fi