diff options
Diffstat (limited to 'acid/acid-remove')
-rwxr-xr-x | acid/acid-remove | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acid/acid-remove b/acid/acid-remove index 6094a23..2c96669 100755 --- a/acid/acid-remove +++ b/acid/acid-remove @@ -5,11 +5,11 @@ # Stop the service <name>, which was previously managed by cychedelic, and # remove associated files. -name=$(cat "/services/$1/.git/previous_slug") +name=$(cat "$CYCHE_SERVICE_DIR/$1/.git/previous_slug") [ -z "$name" ] && name="$1" docker compose --project-name "$name" down echo "Removing files..." -rm -rf "/services/$1" +rm -rf "$CYCHE_SERVICE_DIR/$1" echo "Done." |