mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-07 22:37:12 +02:00
This fixes a possible failure to start on boot: pcap_open_live() error: eth0: That device is not up
15 lines
231 B
Plaintext
15 lines
231 B
Plaintext
#!/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%/*}
|
|
}
|