Adjust the content of the variable
parent
a415238150
commit
728d019892
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue