diff --git a/docs/deployment/process-management.md b/docs/deployment/process-management.md index 997dcd240..bded4f5fa 100644 --- a/docs/deployment/process-management.md +++ b/docs/deployment/process-management.md @@ -4,15 +4,16 @@ ``` ps # List processes running in app container(s) -ps:rebuildall # Rebuild all apps from source ps:rebuild # Rebuild an app from source -ps:restartall # Restart all deployed app containers +ps:rebuildall # Rebuild all apps from source +ps:report [] [] # Displays a process report for one or more apps ps:restart # Restart app container(s) -ps:scale = [=] # Set how many processes of a given process to run +ps:restart-policy # Shows the restart-policy for an app +ps:restartall # Restart all deployed app containers +ps:scale = [=] # Get/Set how many instances of a given process to run +ps:set-restart-policy # Sets app restart-policy ps:start # Start app container(s) ps:stop # Stop app container(s) -ps:restart-policy # Shows the restart-policy for an app -ps:set-restart-policy # Sets app restart-policy ``` By default, Dokku will only start a single `web` process - if defined - though process scaling can be managed by the `ps` plugin or [via a custom `DOKKU_SCALE` file](/dokku/deployment/process-management/#manually-managing-process-scaling). diff --git a/plugins/ps/commands b/plugins/ps/commands index c5ee28b84..a17a2ef55 100755 --- a/plugins/ps/commands +++ b/plugins/ps/commands @@ -13,7 +13,7 @@ case "$1" in ps:stop , Stop app container(s) ps:rebuild , Rebuild an app from source ps:rebuildall, Rebuild all apps from source - ps:report, Shows report of all processes in app container(s) + ps:report [] [], Displays a process report for one or more apps ps:restart , Restart app container(s) ps:restartall, Restart all deployed app containers ps:restore, Start previously running apps e.g. after reboot