abuild/sample.initd

17 lines
287 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"
2024-10-09 12:59:44 +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>"
2024-10-09 12:59:44 +00:00
: "${command_args:="--default-args"}"
2023-06-21 13:34:27 +00:00
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
depend() {
need net
after firewall
}