diff options
author | Malfurious <m@lfurio.us> | 2023-08-12 02:53:54 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2023-08-12 02:53:54 -0400 |
commit | 6d503fa18f0f68c893d45fea2dc018f78c1ab02b (patch) | |
tree | 9c0a5471d05a817bb9bf2fa46fee082b1bfea853 | |
parent | 99045bf64cf136df3c0d7d3775a64cc41268a0ed (diff) | |
download | cychedelic-6d503fa18f0f68c893d45fea2dc018f78c1ab02b.tar.gz cychedelic-6d503fa18f0f68c893d45fea2dc018f78c1ab02b.zip |
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 <m@lfurio.us>
-rwxr-xr-x | acid/cyche-build | 1 |
1 files changed, 1 insertions, 0 deletions
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 |