mirror of https://github.com/mack-a/v2ray-agent
feat(脚本): 添加nginx开机自启动
parent
c7af64135d
commit
49dbeb2ca1
|
@ -427,6 +427,8 @@ installTools(){
|
|||
then
|
||||
echoContent green " ---> 安装nginx"
|
||||
${installType} nginx > /dev/null 2>&1
|
||||
systemctl daemon-reload
|
||||
systemctl enable nginx
|
||||
fi
|
||||
|
||||
if [[ -z `find /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin |grep -v grep|grep -w sudo` ]]
|
||||
|
|
Loading…
Reference in New Issue