From 6d503fa18f0f68c893d45fea2dc018f78c1ab02b Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 12 Aug 2023 02:53:54 -0400 Subject: acid: build: Bring cychedelic down under its default name as well If cychedelic is ever started manually, using a pre-existing data volume, the system will believe the previous instance is using a specific random project name and may not properly shutdown the user-initiated instance on a rebuild. Simply attempting to stop the service using its default name will catch this, and not cause any problems in the general case. Signed-off-by: Malfurious --- acid/cyche-build | 1 + 1 file changed, 1 insertion(+) diff --git a/acid/cyche-build b/acid/cyche-build index 4239340..f37c22b 100755 --- a/acid/cyche-build +++ b/acid/cyche-build @@ -46,5 +46,6 @@ echo "$2" >.git/previous_hash if [ "$3" == "--self" ]; then echo "$slug" >.git/previous_slug + docker compose down docker compose $prev down fi -- cgit v1.2.3