From 1a60013471bc2194ca4a7dd5656084101cb37d72 Mon Sep 17 00:00:00 2001 From: wulabing Date: Thu, 19 Sep 2019 12:00:38 +0800 Subject: [PATCH] Update install.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复重启机器后 Nginx 不会自动启动的问题 --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index eab836a..6b542bc 100644 --- a/install.sh +++ b/install.sh @@ -321,6 +321,8 @@ start_process_systemd(){ systemctl start nginx judge "Nginx 启动" + systemctl enable nginx + judge "设置 Nginx 开机自启" systemctl start v2ray judge "V2ray 启动"