mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-26 16:02:50 +01:00
- 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
14 lines
216 B
Bash
14 lines
216 B
Bash
#!/sbin/openrc-run
|
|
|
|
name="busybox $RC_SVCNAME"
|
|
command="/usr/sbin/$RC_SVCNAME"
|
|
command_args="-f $INETD_OPTS"
|
|
pidfile="/run/$RC_SVCNAME.pid"
|
|
command_background=true
|
|
|
|
depend() {
|
|
need net localmount
|
|
after firewall
|
|
}
|
|
|