4 git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1
6 if pgrep peertube > /dev/null; then
7 echo 'PeerTube is running!'
13 cd client && npm update && cd ../
16 echo "\n\nUpgrade finished! You can restart PeerTube that may run the migration scripts."