Adjust the content of the variable

pull/1/head
Dct Mei 2020-04-11 21:17:37 +08:00
parent a415238150
commit 728d019892
No known key found for this signature in database
GPG Key ID: 50BF8B712DCAD7EA
1 changed files with 3 additions and 3 deletions

View File

@ -335,7 +335,7 @@ installV2Ray() {
for BASE in 00_log 01_api 02_dns 03_routing 04_policy 05_inbounds 06_outbounds 07_transport 08_stats 09_reverse; do for BASE in 00_log 01_api 02_dns 03_routing 04_policy 05_inbounds 06_outbounds 07_transport 08_stats 09_reverse; do
echo '{}' > "/usr/local/etc/v2ray/$BASE.json" echo '{}' > "/usr/local/etc/v2ray/$BASE.json"
done done
CONFDIR=yes CONFDIR='1'
fi fi
# Used to store V2Ray log files # Used to store V2Ray log files
@ -345,7 +345,7 @@ installV2Ray() {
else else
install -d -o nobody -g nobody /var/log/v2ray/ install -d -o nobody -g nobody /var/log/v2ray/
fi fi
LOG=yes LOG='1'
fi fi
} }
installStartupServiceFile() { installStartupServiceFile() {
@ -364,7 +364,7 @@ installStartupServiceFile() {
fi fi
install -m 755 "${TMP_DIRECTORY}systemd/system/v2ray.service" /etc/systemd/system/v2ray.service install -m 755 "${TMP_DIRECTORY}systemd/system/v2ray.service" /etc/systemd/system/v2ray.service
install -m 755 "${TMP_DIRECTORY}systemd/system/v2ray@.service" /etc/systemd/system/v2ray@.service install -m 755 "${TMP_DIRECTORY}systemd/system/v2ray@.service" /etc/systemd/system/v2ray@.service
SYSTEMD=yes SYSTEMD='1'
fi fi
} }