diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-16 08:53:01 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-16 08:53:01 +0100 |
commit | 48cf691d5edd264930decf6a95b867c82a0e2c50 (patch) | |
tree | f65f800c66a830eff40bd34e3fd50ac634680014 /support/doc | |
parent | 712f6a4f91cdeaa5155da33b1bbe15e594fbcdbe (diff) | |
download | PeerTube-48cf691d5edd264930decf6a95b867c82a0e2c50.tar.gz PeerTube-48cf691d5edd264930decf6a95b867c82a0e2c50.tar.zst PeerTube-48cf691d5edd264930decf6a95b867c82a0e2c50.zip |
Fix upgrade command
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/production.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/doc/production.md b/support/doc/production.md index af137fe9a..7db12bb57 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -229,7 +229,7 @@ $ VERSION=$(curl -s https://api.github.com/repos/chocobozzz/peertube/releases/la | |||
229 | cd /home/peertube/versions && \ | 229 | cd /home/peertube/versions && \ |
230 | sudo -u peertube wget "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip" && \ | 230 | sudo -u peertube wget "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip" && \ |
231 | sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip && \ | 231 | sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip && \ |
232 | cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest && \ | 232 | cd ../ && sudo rm ./peertube-latest && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest && \ |
233 | cd ./peertube-latest && sudo -u peertube yarn install --production --pure-lockfile && \ | 233 | cd ./peertube-latest && sudo -u peertube yarn install --production --pure-lockfile && \ |
234 | sudo systemctl restart peertube | 234 | sudo systemctl restart peertube |
235 | ``` | 235 | ``` |