Initial commit.
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/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")"
|
||||
Reference in New Issue
Block a user