mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
use TPWS_OPT_SUFFIX in scripts
This commit is contained in:
@@ -7,6 +7,7 @@ zapret_custom_daemons()
|
||||
# $1 - 1 - run, 0 - stop
|
||||
local opt="--user=root --port=$TPPORT_MY"
|
||||
filter_apply_hostlist_target opt
|
||||
filter_apply_suffix opt "$TPWS_OPT_SUFFIX"
|
||||
tpws_apply_binds opt
|
||||
opt="$opt $TPWS_OPT"
|
||||
do_daemon $1 1 "$TPWS" "$opt"
|
||||
|
Reference in New Issue
Block a user