summaryrefslogtreecommitdiffstats
path: root/acid/cyche-remove
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-10-24 22:05:05 -0400
committerMalfurious <m@lfurio.us>2023-10-26 20:41:40 -0400
commitfe1abd055998e171b92d0e42df8063cab83a40ed (patch)
treef6c117db24b71a8cfbbe4cc5518b1cf5678f0ac4 /acid/cyche-remove
parentf87fb62563b34e34505021ee3f25fe53cbc5beb1 (diff)
downloadcychedelic-fe1abd055998e171b92d0e42df8063cab83a40ed.tar.gz
cychedelic-fe1abd055998e171b92d0e42df8063cab83a40ed.zip
acid: Don't use 'cychedelic' in file names
As I add new components to the cychedelic system, it would be best to use more specific naming. 'cychedelic' is the name of the project, whereas 'acid' is the name of this program. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'acid/cyche-remove')
-rwxr-xr-xacid/cyche-remove15
1 files changed, 0 insertions, 15 deletions
diff --git a/acid/cyche-remove b/acid/cyche-remove
deleted file mode 100755
index c988efe..0000000
--- a/acid/cyche-remove
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-# cyche-remove <name>
-#
-# Stop the service <name>, which was previously managed by cychedelic, and
-# remove associated files.
-
-name=$(cat "/services/$1/.git/previous_slug")
-[ -z "$name" ] && name="$1"
-
-docker compose --project-name "$name" down
-
-echo "Removing files..."
-rm -rf "/services/$1"
-echo "Done."