diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/production.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/doc/production.md b/support/doc/production.md index ea5a27a3b..0498bf1fc 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -205,7 +205,7 @@ Now your instance is up you can: | |||
205 | The password it asks is PeerTube's database user password. | 205 | The password it asks is PeerTube's database user password. |
206 | 206 | ||
207 | ``` | 207 | ``` |
208 | $ cd /var/www/peertube/peertube-latest/scripts && sudo -u peertube ./upgrade.sh | 208 | $ cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.sh |
209 | $ sudo systemctl restart peertube && sudo journalctl -fu peertube | 209 | $ sudo systemctl restart peertube && sudo journalctl -fu peertube |
210 | ``` | 210 | ``` |
211 | 211 | ||
@@ -238,7 +238,7 @@ Install node dependencies: | |||
238 | 238 | ||
239 | ``` | 239 | ``` |
240 | $ cd /var/www/peertube/versions/peertube-${VERSION} && \ | 240 | $ cd /var/www/peertube/versions/peertube-${VERSION} && \ |
241 | sudo -u peertube yarn install --production --pure-lockfile | 241 | sudo -H -u peertube yarn install --production --pure-lockfile |
242 | ``` | 242 | ``` |
243 | 243 | ||
244 | Copy new configuration defaults values and update your configuration file: | 244 | Copy new configuration defaults values and update your configuration file: |