mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02: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
13 lines
210 B
Bash
13 lines
210 B
Bash
#!/sbin/openrc-run
|
|
|
|
name="busybox $SVCNAME"
|
|
command="/usr/sbin/$SVCNAME"
|
|
command_args="$HTTPD_OPTS -f"
|
|
pidfile="/run/$RC_SVCNAME.pid"
|
|
command_background=true
|
|
|
|
depend() {
|
|
need net localmount
|
|
after firewall
|
|
}
|
|
|