From: Kody Date: Thu, 7 Jun 2018 13:03:42 +0000 (+0200) Subject: Update sudo command for yarn during upgrade X-Git-Tag: v1.0.0-beta.8~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fbd2ad19b64a07de3baca87cbd2505d1c141f449;p=oweals%2Fpeertube.git Update sudo command for yarn during upgrade --- 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: The password it asks is PeerTube's database user password. ``` -$ cd /var/www/peertube/peertube-latest/scripts && sudo -u peertube ./upgrade.sh +$ cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.sh $ sudo systemctl restart peertube && sudo journalctl -fu peertube ``` @@ -238,7 +238,7 @@ Install node dependencies: ``` $ cd /var/www/peertube/versions/peertube-${VERSION} && \ - sudo -u peertube yarn install --production --pure-lockfile + sudo -H -u peertube yarn install --production --pure-lockfile ``` Copy new configuration defaults values and update your configuration file: