aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fwknop/fwknopd.initd
blob: 62494d3e41c2cb1c713b0ee3d392464dceac366e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/openrc-run

pidfile="/var/run/fwknop/fwknopd.pid"
command=/usr/sbin/fwknopd
command_args="--pid-file $pidfile $fwknopd_args"

depend() {
	use logger
        after net
}

start_pre() {
	checkpath --directory ${pidfile%/*}
}