Fix compose project name, take #3
parent
0ac3a66182
commit
182b7826bd
|
@ -208,9 +208,8 @@ docker-compose pull --parallel
|
|||
cp -n data/assets/ssl-example/*.pem data/assets/ssl/
|
||||
|
||||
echo -e "Fixing project name... "
|
||||
sed -i 's/COMPOSEPROJECT_NAME/COMPOSE_PROJECT_NAME/g' mailcow.conf
|
||||
sed -i '/COMPOSE_PROJECT_NAME=.*/{s/-//}' mailcow.conf
|
||||
sed -i '/COMPOSE_PROJECT_NAME=.*/{s/_//}' mailcow.conf
|
||||
sed -ie 's#COMPOSEPROJECT_NAME#COMPOSE_PROJECT_NAME#g' mailcow.conf
|
||||
sed -i '/COMPOSE_PROJECT_NAME=/s/-//g' mailcow.conf
|
||||
|
||||
echo -e "\e[32mStarting mailcow...\e[0m"
|
||||
sleep 2
|
||||
|
|
Loading…
Reference in New Issue