initial pass at switching to plugn

This commit is contained in:
Michael Hobbs
2015-06-12 18:07:08 -07:00
committed by Jose Diaz-Gonzalez
parent ac75c726ad
commit 7a545759f2
33 changed files with 163 additions and 91 deletions

View File

@@ -130,7 +130,7 @@ EOF
if is_deployed "$APP"; then
dokku_log_info1 "Running nginx-pre-reload"
pluginhook nginx-pre-reload $APP $DOKKU_APP_LISTEN_PORT $DOKKU_APP_LISTEN_IP
plugn trigger nginx-pre-reload $APP $DOKKU_APP_LISTEN_PORT $DOKKU_APP_LISTEN_IP
dokku_log_verbose "Reloading nginx"
validate_nginx && restart_nginx
@@ -160,7 +160,7 @@ EOF
fi
;;
help | nginx:help)
cat && cat<<EOF
cat<<EOF
nginx:build-config <app>, (Re)builds nginx config for given app
EOF
;;

View File

@@ -0,0 +1,4 @@
[plugin]
description = "dokku core nginx-vhosts plugin"
version = "0.4.0"
[plugin.config]