Fixed start.sh stop.sh to work with all option

This commit is contained in:
Derek Crudgington 2022-10-31 17:28:46 +00:00
parent 28a697bdfc
commit 0ff6c5d68b
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ startservice() {
startservice_all() { startservice_all() {
for i in dns ldap mail nextcloud panel proxy; do for i in dns ldap mail nextcloud panel proxy; do
echo "* Starting $i.." echo "* Starting $i.."
docker-compose -f fstack/$SERVICE/docker-compose.yml -p $SERVICE up -d docker-compose -f fstack/$i/docker-compose.yml -p $SERVICE up -d
done done
} }

View File

@ -13,7 +13,7 @@ stopservice() {
stopservice_all() { stopservice_all() {
for i in dns ldap mail nextcloud panel proxy; do for i in dns ldap mail nextcloud panel proxy; do
echo "* Stopping $i.." echo "* Stopping $i.."
docker-compose -f fstack/$SERVICE/docker-compose.yml -p $SERVICE down docker-compose -f fstack/$i/docker-compose.yml -p $SERVICE down
done done
} }