abuild/sample.initd

17 lines
276 B
Plaintext
Raw Normal View History

2016-05-23 23:42:02 +00:00
#!/sbin/openrc-run
2023-06-21 13:34:27 +00:00
name="SampleService"
description="Sample init.d file for Alpine Linux"
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"
depend() {
need net
after firewall
}