2016-05-23 23:42:02 +00:00
|
|
|
#!/sbin/openrc-run
|
2009-01-29 09:06:43 +00:00
|
|
|
|
|
|
|
# Sample init.d file for alpine linux.
|
|
|
|
|
2009-12-30 08:55:33 +00:00
|
|
|
name=
|
2016-05-23 23:42:02 +00:00
|
|
|
command="/usr/sbin/$name"
|
|
|
|
command_args="$sample_opts"
|
|
|
|
command_background="yes"
|
|
|
|
|
|
|
|
start_stop_daemon_args="--user $sample_user:$sample_group"
|
|
|
|
pidfile="/run/$name.pid"
|
2009-01-29 09:06:43 +00:00
|
|
|
|
|
|
|
depend() {
|
|
|
|
need net
|
2009-12-30 08:55:33 +00:00
|
|
|
after firewall
|
2009-01-29 09:06:43 +00:00
|
|
|
}
|