blob: 2c96669609481b637c0801a71568ea7b05b6af96 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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."
|