blob: 6094a23918146bf18a020b4d3a89af3198c0697b (
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 "/services/$1/.git/previous_slug")
[ -z "$name" ] && name="$1"
docker compose --project-name "$name" down
echo "Removing files..."
rm -rf "/services/$1"
echo "Done."
|