1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/testing/foolsm/foolsm.initd
Kevin Daudt f2e772747c testing/foolsm: fix initd file
confd file accidentailly overwrites the initd file, and the command
path is wrong.
2021-09-22 04:53:52 +00:00

11 lines
218 B
Bash

#!/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