feat: add :pause subcommand and make :stop subcommand actually remove the container

This commit is contained in:
Jose Diaz-Gonzalez
2022-12-26 17:39:50 -05:00
parent 478fd1276a
commit 9ef9985d4a
7 changed files with 72 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ service-restart-cmd() {
[[ -z "$SERVICE" ]] && dokku_log_fail "Please specify a valid name for the service"
verify_service_name "$SERVICE"
service_stop "$SERVICE"
service_pause "$SERVICE"
service_start "$SERVICE"
dokku_log_info1 "Please call dokku ps:restart on all linked apps"
}