mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-11 17:29:16 +05:00
init.d: allow to override WS_USER
This commit is contained in:
parent
6fe5d7f43a
commit
fa8f061710
@ -9,7 +9,7 @@ HOSTLIST="$ZHOSTLIST.gz"
|
||||
|
||||
PIDDIR=/var/run
|
||||
[ -n "$TPPORT" ] || TPPORT=988
|
||||
TPWS_USER=daemon
|
||||
[ -n "$TPWS_USER" ] || TPWS_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"
|
||||
|
@ -52,7 +52,7 @@ prepare_user()
|
||||
}
|
||||
}
|
||||
|
||||
WS_USER=tpws
|
||||
[ -n "$WS_USER" ] || WS_USER=tpws
|
||||
prepare_user
|
||||
|
||||
PIDDIR=/var/run
|
||||
|
Loading…
Reference in New Issue
Block a user