aports/main/busybox/crond.initd
psykose 9a642447d1 main/busybox: improve crond.initd
letting openrc background the service is preferred. also set RC_SVCNAME
vars for modern naming, and correct symlinked rundir
2023-01-07 09:37:08 +01:00

12 lines
204 B
Bash

#!/sbin/openrc-run
name="busybox $RC_SVCNAME"
command="/usr/sbin/$SVCNAME"
pidfile="/run/$RC_SVCNAME.pid"
command_args="$CRON_OPTS -f"
command_background=true
depend() {
need localmount
need logger
}