mirror of
https://tildegit.org/solene/iblock.git
synced 2024-11-25 03:30:09 +01:00
92e8239a50
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.
11 lines
109 B
Bash
Executable File
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
|