blob: 2c96669609481b637c0801a71568ea7b05b6af96 (
plain) (
tree)
|
|
#!/bin/bash
# acid-remove <name>
#
# Stop the service <name>, which was previously managed by cychedelic, and
# remove associated files.
name=$(cat "$CYCHE_SERVICE_DIR/$1/.git/previous_slug")
[ -z "$name" ] && name="$1"
docker compose --project-name "$name" down
echo "Removing files..."
rm -rf "$CYCHE_SERVICE_DIR/$1"
echo "Done."
|