mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
17 lines
339 B
Text
17 lines
339 B
Text
#!/sbin/openrc-run
|
|
|
|
# Sample init.d file for alpine linux.
|
|
|
|
name=peervpn
|
|
command="/usr/sbin/$name"
|
|
command_args="/etc/$name.conf"
|
|
command_background="yes"
|
|
|
|
# peervpn does not daemonize itself.
|
|
start_stop_daemon_args="--stdout=/var/log/$name.log --stderr=/var/log/$name.log"
|
|
pidfile="/run/$name.pid"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|