Merge pull request #3966 from dokku/domains-triggers

Move domain manipulation into triggers
This commit is contained in:
Jose Diaz-Gonzalez
2020-05-06 14:21:06 -04:00
committed by GitHub
22 changed files with 226 additions and 49 deletions

View File

@@ -2,7 +2,6 @@
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/ps/functions"
cmd-ps-restart() {
declare desc="restarts app via command line"
@@ -11,7 +10,7 @@ cmd-ps-restart() {
declare APP="$1"
[[ -z "$APP" ]] && dokku_log_fail "Please specify an app to run the command on"
ps_restart "$APP"
plugn trigger app-restart "$APP"
}
cmd-ps-restart "$@"