Templates.

This commit is contained in:
Your Name
2025-05-24 20:43:56 +12:00
parent 2589c84f4d
commit 41287ec041
10 changed files with 39 additions and 42 deletions

9
caddy/destroy.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
source "${AGENT_PATH}/common.sh"
_check_required_env_vars
./uninstall.sh
datadestroy "volume=$DATA_VOLUME" "volume=$CONFIG_VOLUME" || _die "Failed to Destroy"
echo "Destroyed ${CONTAINER_NAME}."

View File

@@ -1,11 +0,0 @@
#!/bin/bash
source "${AGENT_PATH}/common.sh"
_check_required_env_vars
# NUKE SCRIPT
./uninstall.sh
datanuke "volume=$DATA_VOLUME" "volume=$CONFIG_VOLUME" || _die "Failed to nuke"
echo "Nuking of ${CONTAINER_NAME} complete."