Fix the error again
parent
5ac5084ffe
commit
ac0ac01635
|
@ -341,8 +341,12 @@ installV2Ray(){
|
|||
|
||||
# Used to store V2Ray log files
|
||||
if [[ ! -d '/var/log/v2ray/' ]]; then
|
||||
if [[ -n "$(id nobody | grep nogroup)" ]]; then
|
||||
install -d -o nobody -g nogroup /var/log/v2ray/
|
||||
else
|
||||
install -do nobody /var/log/v2ray/
|
||||
fi
|
||||
fi
|
||||
}
|
||||
installStartupServiceFile() {
|
||||
if [[ ! -f '/etc/systemd/system/v2ray.service' ]]; then
|
||||
|
|
Loading…
Reference in New Issue