aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKody <im@kdy.ch>2018-06-07 15:03:42 +0200
committerChocobozzz <me@florianbigard.com>2018-06-07 15:08:43 +0200
commitfbd2ad19b64a07de3baca87cbd2505d1c141f449 (patch)
tree7978a0492ac5938da3fb4f4108c090a432faf082
parenta5f0521f035079528580530f11567c6b74149bad (diff)
downloadPeerTube-fbd2ad19b64a07de3baca87cbd2505d1c141f449.tar.gz
PeerTube-fbd2ad19b64a07de3baca87cbd2505d1c141f449.tar.zst
PeerTube-fbd2ad19b64a07de3baca87cbd2505d1c141f449.zip
Update sudo command for yarn during upgrade
-rw-r--r--support/doc/production.md4
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:
205The password it asks is PeerTube's database user password. 205The 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
244Copy new configuration defaults values and update your configuration file: 244Copy new configuration defaults values and update your configuration file: