From 756672c8a01ee84833d14214da31e87beba56a90 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 14 Dec 2022 14:12:53 +0000 Subject: [PATCH] Fixed stop script --- bin/install-federated.sh | 2 +- bin/stop.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/install-federated.sh b/bin/install-federated.sh index 6380ec3..a8e5e28 100755 --- a/bin/install-federated.sh +++ b/bin/install-federated.sh @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/bash # # Federated installation script diff --git a/bin/stop.sh b/bin/stop.sh index 791736b..3cf2efd 100755 --- a/bin/stop.sh +++ b/bin/stop.sh @@ -8,12 +8,12 @@ usage() { } stopservice() { echo "* Stopping $SERVICE.." - docker-compose -f /federated/apps/$SERVICE/docker-compose.yml -p $SERVICE down + cd /federated/apps/$SERVICE && docker-compose -f docker-compose.yml -p $SERVICE down } stopservice_all() { for i in dns postgresql ldap mail collabora nextcloud matrix jitsi listmonk vaultwarden panel proxy; do echo "* Stopping $i.." - docker-compose -f /federated/apps/$i/docker-compose.yml -p $i down + cd /federated/apps/$i && docker-compose -f docker-compose.yml -p $i down done }