feat(脚本): 添加nginx开机自启动

pull/534/merge
mack-a 2021-01-04 17:49:48 +08:00
parent c7af64135d
commit 49dbeb2ca1
1 changed files with 2 additions and 0 deletions

View File

@ -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` ]]