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