refactor: standardize trigger code
This commit is contained in:
1 parent
4a60497d3e
commit
7357579af2
63 files changed
+382
-329
No files matched your search
@@ -3,4 +3,11 @@ set -eo pipefail
|
||||
[[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
|
||||
|
||||
restart_nginx "$@" >/dev/null
|
||||
trigger-nginx-vhosts-post-delete() {
|
||||
declare desc="nginx-vhosts post-delete trigger"
|
||||
declare trigger="post-delete"
|
||||
|
||||
restart_nginx "$@" >/dev/null
|
||||
}
|
||||
|
||||
trigger-nginx-vhosts-post-delete "$@"
|
||||
Reference in new issue
Block a user