blob: 6a67060036685b039cad4160d0ac56c947054719 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/sbin/openrc-run
command=/usr/sbin/foolsm
if yesno "$use_supervisor"; then
command_args_foreground="-f"
supervisor=supervise-daemon
else
pidfile="/run/$RC_SVCNAME.pid"
command_args="-p $pidfile"
fi
|