iblock/iblock.rc
prx 92e8239a50 iblock is now its own server. inetd is no longer required.
Some minor changes too:
* doas is called with flag "-n", this avoid blocking iblock if doas ismisconfigured.
* pfctl calls are run in separate fork process
* iblock listening port is now the better 2507 instead of already used by other softwares 666.
* Added a rc script to start iblock as daemon.
2022-10-08 14:08:57 +02:00

11 lines
109 B
Bash
Executable File

#!/bin/ksh
daemon="/usr/local/sbin/iblock"
daemon_user="_iblock"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_cmd $1