aports/main/busybox/acpid.initd
psykose e44921abbe main/busybox: set init.d foregrounding, cleanup
- sets command_background=true and foreground arg for most init.d's
- s/SVCNAME/RC_SVCNAME for modern varname
- s|/var/run|/run| as /var/run is symlinked to /run, which is the linux rundir
2023-01-24 04:32:42 +00:00

15 lines
267 B
Bash

#!/sbin/openrc-run
name="busybox acpid"
command="/sbin/acpid"
command_args="$ACPID_OPTS -f"
pidfile="/run/acpid.pid"
command_background=true
start_stop_daemon_args="-g wheel -k 027"
depend() {
need dev localmount
after hwdrivers modules
keyword -vserver -lxc
}