This commit is contained in:
Your Name
2025-05-17 17:51:02 +12:00
parent fa5a41fb34
commit 096dc20a64
48 changed files with 70 additions and 69 deletions

View File

@ -1,13 +1,11 @@
#!/bin/bash
source "${AGENT_PATH}/_common.sh"
source "${AGENT_PATH}/common.sh"
_check_required_env_vars
# NUKE SCRIPT
# This is run after the uninstall.sh script to delete all data.
# dropshell handles the configuration files, so we just need to remove
# any docker volumes and any custom local data folders.
./uninstall.sh
autonuke "volume=$DATA_VOLUME" "volume=$CONFIG_VOLUME" || _die "Failed to nuke"
datanuke "volume=$DATA_VOLUME" "volume=$CONFIG_VOLUME" || _die "Failed to nuke"
echo "Nuking of ${CONTAINER_NAME} complete."