Add post-stop plugn trigger

This commit is contained in:
Kamil Domański
2015-10-26 13:33:04 +01:00
parent 39ba53607a
commit f705004975
2 changed files with 19 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ case "$1" in
if [[ -n "$DOKKU_APP_RUNNING_CONTAINER_IDS" ]]; then
echo "Stopping $APP ..."
docker stop $DOKKU_APP_RUNNING_CONTAINER_IDS > /dev/null || true
plugn trigger post-stop $APP
else
echo "App $APP already stopped"
fi