Lines of
svc.starter.mk
from check-in 04f7295047
that are changed by the sequence of edits moving toward
check-in be5654b61b:
1: _service_svc: .USE
2: svc list $@ | grep -q $@ || \
04f7295047 2022-05-30 3: svc -u ${DAEMON_$@_USER:Uroot} -g ${DAEMON_$@_GROUP:Uwheel} ${DAEMON_$@_RESTART:D-r} ${DAEMON_$@_RESTART} init $@ ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS} ${DAEMON_$@_FOREGROUND}
4:
5: _service_svc_status: .USE
6: svc status ${@:S/_status//}
7:
8: _service_svc_exit: .USEBEFORE
9: svc list ${@:S/_exit//} | grep -q ${@:S/_exit//} || true && \
10: svc -s exit ${@:S/_exit//}