abuild/sample.initd

17 lines
276 B
Plaintext

#!/sbin/openrc-run
name="SampleService"
description="Sample init.d file for Alpine Linux"
: ${command_user:="<USER>"}
command="/usr/sbin/<SERVICE>"
command_args="$command_args"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
depend() {
need net
after firewall
}