Merge pull request #2637 from dokku/fix-ps-report-docs

docs: Add documentation surrounding flags that ps:report accepts
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2017-03-04 16:18:03 -07:00
commit 7586575cf8
2 files changed
+7 -6

No files matched your search

+6 -5
View File
@@ -4,15 +4,16 @@
``` ```
ps <app> # List processes running in app container(s) ps <app> # List processes running in app container(s)
ps:rebuildall # Rebuild all apps from source
ps:rebuild <app> # Rebuild an app from source ps:rebuild <app> # Rebuild an app from source
ps:restartall # Restart all deployed app containers ps:rebuildall # Rebuild all apps from source
ps:report [<app>] [<flag>] # Displays a process report for one or more apps
ps:restart <app> # Restart app container(s) ps:restart <app> # Restart app container(s)
ps:scale <app> <proc>=<count> [<proc>=<count>] # Set how many processes of a given process to run ps:restart-policy <app> # Shows the restart-policy for an app
ps:restartall # Restart all deployed app containers
ps:scale <app> <proc>=<count> [<proc>=<count>] # Get/Set how many instances of a given process to run
ps:set-restart-policy <app> <policy> # Sets app restart-policy
ps:start <app> # Start app container(s) ps:start <app> # Start app container(s)
ps:stop <app> # Stop app container(s) ps:stop <app> # Stop app container(s)
ps:restart-policy <app> # Shows the restart-policy for an app
ps:set-restart-policy <app> <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). 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).
+1 -1
View File
@@ -13,7 +13,7 @@ case "$1" in
ps:stop <app>, Stop app container(s) ps:stop <app>, Stop app container(s)
ps:rebuild <app>, Rebuild an app from source ps:rebuild <app>, Rebuild an app from source
ps:rebuildall, Rebuild all apps from source ps:rebuildall, Rebuild all apps from source
ps:report, Shows report of all processes in app container(s) ps:report [<app>] [<flag>], Displays a process report for one or more apps
ps:restart <app>, Restart app container(s) ps:restart <app>, Restart app container(s)
ps:restartall, Restart all deployed app containers ps:restartall, Restart all deployed app containers
ps:restore, Start previously running apps e.g. after reboot ps:restore, Start previously running apps e.g. after reboot