From 09c93c2031ce4d7dee15f247b194f21346c7e615 Mon Sep 17 00:00:00 2001 From: Valvin Date: Thu, 1 Feb 2018 08:55:17 +0100 Subject: [PATCH] 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. --- support/doc/production.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1