From: Valvin Date: Thu, 1 Feb 2018 07:55:17 +0000 (+0100) Subject: update yarn installation command (#267) X-Git-Tag: v0.0.20-alpha~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=09c93c2031ce4d7dee15f247b194f21346c7e615;p=oweals%2Fpeertube.git update yarn installation command (#267) on ubuntu `sudo -u` doesn't set homedirectory of the targeted user althought debian does. it requires the option `-H`. I think with this option it works in both case. --- diff --git a/support/doc/production.md b/support/doc/production.md index 6bf6c1ca3..a10ccea3f 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -52,7 +52,7 @@ $ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube Install Peertube ``` $ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest -$ cd ./peertube-latest && sudo -u peertube yarn install --production --pure-lockfile +$ cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile ``` ### PeerTube configuration