We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3aece80 + 9b090f8 commit 4eaeeacCopy full SHA for 4eaeeac
install-release.sh
@@ -370,8 +370,12 @@ install_v2ray() {
370
if [[ ! -d '/var/log/v2ray/' ]]; then
371
if [[ -n "$(id nobody | grep nogroup)" ]]; then
372
install -d -m 700 -o nobody -g nogroup /var/log/v2ray/
373
+ install -m 600 -o nobody -g nogroup /var/log/v2ray/access.log
374
+ install -m 600 -o nobody -g nogroup /var/log/v2ray/error.log
375
else
376
install -d -m 700 -o nobody -g nobody /var/log/v2ray/
377
+ install -m 600 -o nobody -g nobody /var/log/v2ray/access.log
378
+ install -m 600 -o nobody -g nobody /var/log/v2ray/error.log
379
fi
380
LOG='1'
381
0 commit comments