Set umask for shadowbox

This commit is contained in:
fortuna 2018-11-15 15:19:39 -05:00
parent 0977f6d641
commit a21bab96db

View file

@ -17,6 +17,9 @@
export SB_PUBLIC_IP=${SB_PUBLIC_IP:-$(curl https://ipinfo.io/ip)}
export SB_METRICS_URL=${SB_METRICS_URL:-https://metrics-prod.uproxy.org}
# Make sure we don't leave readable files behind.
umask 0077
# The maximum number of files that can be opened by ss-server greatly
# influence on performance, as described here:
# https://shadowsocks.org/en/config/advanced.html