浏览代码

[Update] Remove dc_params

andre.peters 7 年之前
父节点
当前提交
96c0fbe78f
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      update.sh

+ 1 - 5
update.sh

@@ -8,7 +8,6 @@ set -o pipefail
 export LC_ALL=C
 DATE=$(date +%Y-%m-%d_%H_%M_%S)
 BRANCH=$(git rev-parse --abbrev-ref HEAD)
-declare -a DC_PARAMS
 
 while (($#)); do
   case "${1}" in
@@ -23,9 +22,6 @@ while (($#)); do
         exit 3
       fi
     ;;
-    --no-start)
-      DC_PARAMS=(${DC_PARAMS[@]} "--no-start")
-    ;;
     --ours)
       MERGE_STRATEGY=ours
     ;;
@@ -198,7 +194,7 @@ cp -n data/assets/ssl-example/*.pem data/assets/ssl/
 
 echo -e "\e[32mStarting mailcow...\e[0m"
 sleep 2
-docker-compose up -d --remove-orphans ${DC_PARAMS[@]}
+docker-compose up -d --remove-orphans
 
 echo -e "\e[32mCollecting garbage...\e[0m"
 IMGS_TO_DELETE=()