projects/aports·blob master · refs

11 lines · 218 B

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