疯狂的狮子li
2021-07-08 6a8e281b6684c4c39b910de3935eab63d301d88c
docker/deploy.sh
@@ -16,9 +16,9 @@
##放置挂载文件
mount(){
   #挂载配置文件
   if test ! -f "/docker/nginx/nginx.conf" ;then
      mkdir -p /docker/nginx
      cp nginx/nginx.conf /docker/nginx/nginx.conf
   if test ! -f "/docker/nginx/conf/nginx.conf" ;then
      mkdir -p /docker/nginx/conf
      cp nginx/nginx.conf /docker/nginx/conf/nginx.conf
   fi
}
@@ -64,13 +64,13 @@
   base
;;
"start")
   modules
   start
;;
"stop")
   stopmodules
   stop
;;
"stopall")
   stop
   stopall
;;
"rm")
   rm