aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorValvin <valvin1@users.noreply.github.com>2018-02-01 08:55:17 +0100
committerChocobozzz <me@florianbigard.com>2018-02-01 08:55:17 +0100
commit09c93c2031ce4d7dee15f247b194f21346c7e615 (patch)
tree4c7555224e8ad7882da29afd8ca16c869b0ef4b1
parent36f9424ff192b0584a433bc196bced6fcf265808 (diff)
downloadPeerTube-09c93c2031ce4d7dee15f247b194f21346c7e615.tar.gz
PeerTube-09c93c2031ce4d7dee15f247b194f21346c7e615.tar.zst
PeerTube-09c93c2031ce4d7dee15f247b194f21346c7e615.zip
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.
-rw-r--r--support/doc/production.md2
1 files changed, 1 insertions, 1 deletions
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
52Install Peertube 52Install Peertube
53``` 53```
54$ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest 54$ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
55$ cd ./peertube-latest && sudo -u peertube yarn install --production --pure-lockfile 55$ cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile
56``` 56```
57 57
58### PeerTube configuration 58### PeerTube configuration