initial pass at switching to plugn

This commit is contained in:
Michael Hobbs authored and Jose Diaz-Gonzalez committed 2015-09-15 02:16:40 -07:00
1 parent ac75c726ad
commit 7a545759f2
33 files changed
+163 -91

No files matched your search

+2 -2
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
;;