blob: 2f631ba4eb6beeec6745afb78dd103e5de3f42a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/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
}
|