summaryrefslogtreecommitdiffstats
path: root/sample.initd
blob: 1fcf9b3b296fd894f0e91b88345bce24a79db7c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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
}