add ps:restore to start applications which weren't manually stopped
This commit is contained in:
8
plugins/ps/post-deploy
Executable file
8
plugins/ps/post-deploy
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/ps/functions"
|
||||
|
||||
APP="$1"
|
||||
|
||||
dokku config:set --no-restart $APP RESTORE=1
|
||||
Reference in New Issue
Block a user