diff --git a/docs/deployment/process-management.md b/docs/deployment/process-management.md index 3478b608f..82576c672 100644 --- a/docs/deployment/process-management.md +++ b/docs/deployment/process-management.md @@ -3,18 +3,15 @@ > New as of 0.3.14, Enhanced in 0.7.0 ``` -ps:inspect # Displays a sanitized version of docker inspect for an app -ps:rebuild # Rebuild an app from source -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:restartall # Restart all deployed app containers -ps:scale = [=] # Get/Set how many instances of a given process to run -ps:set # Set or clear a ps property for an app -ps:start # Start app container(s) -ps:startall # Start all deployed app containers -ps:stop # Stop app container(s) -ps:stopall # Stop all app container(s) +ps:inspect # Displays a sanitized version of docker inspect for an app +ps:rebuild [--parallel count] [--serial] [--all|] # Rebuilds an app from source +ps:report [] [] # Displays a process report for one or more apps +ps:restart [--parallel count] [--serial] [--all|] # Restart an app +ps:restore [] # Start previously running apps e.g. after reboot +ps:scale [--skip-deploy] = [=...] # Get/Set how many instances of a given process to run +ps:set # Set or clear a ps property for an app +ps:start [--parallel count] [--serial] [--all|] # Start an app +ps:stop [--parallel count] [--serial] [--all|] # Stop an app ``` 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](/docs/deployment/process-management.md#manually-managing-process-scaling). diff --git a/plugins/ps/src/commands/commands.go b/plugins/ps/src/commands/commands.go index 259073d65..7672b4082 100644 --- a/plugins/ps/src/commands/commands.go +++ b/plugins/ps/src/commands/commands.go @@ -19,13 +19,14 @@ Additional commands:` helpContent = ` ps:inspect , Displays a sanitized version of docker inspect for an app - ps:scale = [=...], Get/Set how many instances of a given process to run - ps:start [--parallel count] [--serial] [--all|], Start an app - ps:stop [--parallel count] [--serial] [--all|], Stop an app ps:rebuild [--parallel count] [--serial] [--all|], Rebuilds an app from source ps:report [] [], Displays a process report for one or more apps ps:restart [--parallel count] [--serial] [--all|], Restart an app - ps:restore, Start previously running apps e.g. after reboot + ps:restore [], Start previously running apps e.g. after reboot + ps:scale [--skip-deploy] = [=...], Get/Set how many instances of a given process to run + ps:set , Set or clear a ps property for an app + ps:start [--parallel count] [--serial] [--all|], Start an app + ps:stop [--parallel count] [--serial] [--all|], Stop an app ` )