summaryrefslogtreecommitdiffstats
path: root/sample.initd
blob: 0dc706ce27dbcf80bf504fd41a03973cf6fd6eb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/openrc-run

# Sample init.d file for alpine linux.

name=
command="/usr/sbin/$name"
command_args="$sample_opts"
command_background="yes"

start_stop_daemon_args="--user $sample_user:$sample_group"
pidfile="/run/$name.pid"

depend() {
	need net
	after firewall
}