mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
fix copypasta and actually call trigger
This commit is contained in:
@@ -5,10 +5,12 @@ source "$PLUGIN_AVAILABLE_PATH/docker-options/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/ps/functions"
|
||||
|
||||
ps_post_create() {
|
||||
declare desc="ps post-stop plugin trigger"
|
||||
local trigger="ps_post_stop"
|
||||
declare desc="ps post-create plugin trigger"
|
||||
local trigger="ps_post_create"
|
||||
local APP="$1"
|
||||
|
||||
local passed_phases=(deploy)
|
||||
add_passed_docker_option passed_phases[@] "--restart=on-failure:10"
|
||||
}
|
||||
|
||||
ps_post_create "$@"
|
||||
|
||||
Reference in New Issue
Block a user