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%/*} }