Skip to content

Commit 7f66d8a

Browse files
authored
Update centos_install_v2ray2.sh
1 parent df95638 commit 7f66d8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

centos_install_v2ray2.sh

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ function installV2ray()
179179
else
180180
sed -i -e "s/path\":.*/path\": \"\\${path}\",/" /etc/v2ray/config.json
181181
fi
182+
echo "0 3 */3 * * root echo '' > /var/log/v2ray/access.log; echo ''>/var/log/v2ray/error.log" >> /etc/crontab
182183
systemctl enable v2ray
183184
systemctl restart v2ray
184185
sleep 3

0 commit comments

Comments
 (0)