Update upgrading.md

Add short-hand method for shutting down all apps. Useful for users with large number of apps.
This commit is contained in:
Andreas Brekken
2017-05-02 11:25:08 +07:00
committed by GitHub
parent 6e16a1b76a
commit a5b1412d43

View File

@@ -24,8 +24,7 @@ If Dokku was installed via `apt-get install dokku` or `bootstrap.sh` (most commo
```shell
sudo apt-get update
dokku apps
dokku ps:stop APP # repeat to shut down each running app
dokku apps | tail -n+2 | xargs -L1 dokku ps:stop # stops each running app
sudo apt-get install -qq -y dokku herokuish sshcommand plugn
dokku ps:rebuildall # rebuilds all applications
```
@@ -45,8 +44,7 @@ dokku ps:rebuildall # rebuilds all applications
If you installed Dokku from source (less common), upgrade with:
```shell
dokku apps
dokku ps:stop APP # repeat to shut down each running app
dokku apps | tail -n+2 | xargs -L1 dokku ps:stop # stops each running app
cd ~/dokku
git pull --tags origin master