From ee7d7f164fed285c39c3890b29817cf0d06c17f6 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 7 May 2020 12:01:54 -0400 Subject: [PATCH] fix: set default port for all run commands Closes #3976 --- plugins/ps/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ps/functions b/plugins/ps/functions index a951b8b4e..df19f2565 100755 --- a/plugins/ps/functions +++ b/plugins/ps/functions @@ -6,7 +6,7 @@ source "$PLUGIN_AVAILABLE_PATH/config/functions" get_cmd_from_procfile() { declare desc="parse cmd from app Procfile" - declare APP="$1" PROC_TYPE="$2" PORT="$3" + declare APP="$1" PROC_TYPE="$2" PORT="${3:-5000}" local DOKKU_PROCFILE="$DOKKU_ROOT/$APP/DOKKU_PROCFILE" local COMMAND verify_app_name "$APP"