Update install.sh

修复重启机器后 Nginx 不会自动启动的问题
pull/207/head
wulabing 2019-09-19 12:00:38 +08:00 committed by GitHub
parent 47aa30e94c
commit 1a60013471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -321,6 +321,8 @@ start_process_systemd(){
systemctl start nginx systemctl start nginx
judge "Nginx 启动" judge "Nginx 启动"
systemctl enable nginx
judge "设置 Nginx 开机自启"
systemctl start v2ray systemctl start v2ray
judge "V2ray 启动" judge "V2ray 启动"