diff --git a/plugins/haproxy-vhosts/post-delete b/plugins/haproxy-vhosts/post-delete new file mode 100755 index 000000000..9d914c93d --- /dev/null +++ b/plugins/haproxy-vhosts/post-delete @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions" +set -eo pipefail +[[ $DOKKU_TRACE ]] && set -x + +trigger-haproxy-vhosts-post-delete() { + declare desc="haproxy-vhosts post-delete trigger" + declare trigger="post-delete" + declare APP="$1" + + fn-plugin-property-destroy "haproxy" "$APP" +} + +trigger-haproxy-vhosts-post-delete "$@"