Files
2026-07-15 07:49:11 -04:00

11 lines
324 B
Bash
Executable File

#!/usr/bin/env bash
# Trigger: runs when an app is destroyed. The app's nginx.conf.d directory is
# removed by dokku core; we only clean up our own state.
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
source "$(dirname "${BASH_SOURCE[0]}")/functions"
APP="${1:-}"
[[ -z "$APP" ]] && exit 0
rm -rf "$(fn-ga-app-dir "$APP")"