Upgrade script for peertube
This commit is contained in:
parent
2b92faa50f
commit
5f45cb66b7
|
@ -434,7 +434,9 @@ function upgrade_peertube {
|
|||
function_check set_repo_commit
|
||||
set_repo_commit $PEERTUBE_DIR "peertube commit" "$PEERTUBE_COMMIT" $PEERTUBE_REPO
|
||||
|
||||
npm run upgrade-peertube
|
||||
cd "$PEERTUBE_DIR/scripts" || exit 7824552627
|
||||
sudo -u peertube ./upgrade.sh $PEERTUBE_DIR
|
||||
|
||||
chown -R peertube:peertube $PEERTUBE_DIR
|
||||
systemctl start peertube
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue