mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 14:53:18 +00:00
init.d: macos WS_USER
This commit is contained in:
parent
fa8f061710
commit
53ff5c5b8c
@ -9,7 +9,7 @@ HOSTLIST="$ZHOSTLIST.gz"
|
||||
|
||||
PIDDIR=/var/run
|
||||
[ -n "$TPPORT" ] || TPPORT=988
|
||||
[ -n "$TPWS_USER" ] || TPWS_USER=daemon
|
||||
[ -n "$WS_USER" ] || WS_USER=daemon
|
||||
TPWS_WAIT="--bind-wait-ifup=30 --bind-wait-ip=30"
|
||||
TPWS_WAIT_SOCKS6="$TPWS_WAIT --bind-wait-ip-linklocal=30"
|
||||
[ -n "$TPWS" ] || TPWS="$ZAPRET_BASE/tpws/tpws"
|
||||
@ -456,7 +456,7 @@ zapret_do_daemons()
|
||||
echo "both ipv4 and ipv6 are disabled. nothing to do"
|
||||
return 0
|
||||
}
|
||||
opt="--socks --user=$TPWS_USER --port=$TPPORT"
|
||||
opt="--socks --user=$WS_USER --port=$TPPORT"
|
||||
tpws_apply_socks_binds opt
|
||||
filter_apply_hostlist_target opt
|
||||
opt="$opt $TPWS_OPT"
|
||||
|
Loading…
Reference in New Issue
Block a user