mirror of https://github.com/XTLS/Xray-install
Fix the source of log files
parent
dd1b0330ea
commit
a600b066da
|
@ -92,8 +92,8 @@ install_log() {
|
|||
LOG='0'
|
||||
if [ ! -d '/var/log/v2ray/' ]; then
|
||||
install -d -o nobody -g nobody /var/log/v2ray/
|
||||
install -m 600 -o nobody -g nobody /var/log/v2ray/access.log
|
||||
install -m 600 -o nobody -g nobody /var/log/v2ray/error.log
|
||||
install -m 600 -o nobody -g nobody /dev/null /var/log/v2ray/access.log
|
||||
install -m 600 -o nobody -g nobody /dev/null /var/log/v2ray/error.log
|
||||
LOG='1'
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue