2016-05-23 23:42:02 +00:00
|
|
|
#!/sbin/openrc-run
|
2009-01-29 09:06:43 +00:00
|
|
|
|
2023-06-21 13:34:27 +00:00
|
|
|
name="SampleService"
|
|
|
|
description="Sample init.d file for Alpine Linux"
|
2009-01-29 09:06:43 +00:00
|
|
|
|
2023-06-21 13:34:27 +00:00
|
|
|
: ${command_user:="<USER>"}
|
2016-05-23 23:42:02 +00:00
|
|
|
|
2023-06-21 13:34:27 +00:00
|
|
|
command="/usr/sbin/<SERVICE>"
|
|
|
|
command_args="$command_args"
|
|
|
|
command_background="yes"
|
|
|
|
pidfile="/run/$RC_SVCNAME.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
|
|
|
}
|