perf: 优化脚本提示

main
huangfeng 1 year ago
parent d9e1fbd6c6
commit 5f2fe34b6b

7
.gitignore vendored

@ -0,0 +1,7 @@
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

@ -48,8 +48,10 @@ installNginx(){
echo ${NGX_HOME}" installed."
sed -i 's#/etc/nginx/conf.d#'${BASE_DIR}'/conf#g' ${NGX_HOME}/conf/nginx.conf
echo ${NGX_HOME}'/sbin/nginx -c '${NGX_HOME}'/conf/nginx.conf' > ${BIN_DIR}/startNginx.sh
echo ${NGX_HOME}'/sbin/nginx -s stop' > ${BIN_DIR}/stopNginx.sh
echo ' echo "Starting nginx"' > ${BIN_DIR}/startNginx.sh
echo ${NGX_HOME}'/sbin/nginx -c '${NGX_HOME}'/conf/nginx.conf' >> ${BIN_DIR}/startNginx.sh
echo ' echo "Stopping nginx"' > ${BIN_DIR}/stopNginx.sh
echo ${NGX_HOME}'/sbin/nginx -s stop' >> ${BIN_DIR}/stopNginx.sh
chmod +x ${BIN_DIR}/startNginx.sh
chmod +x ${BIN_DIR}/stopNginx.sh
else

Loading…
Cancel
Save