use npm run instead

This commit is contained in:
Girish Ramakrishnan 2020-06-24 12:33:41 -07:00
parent f19ac26bc2
commit 8af7256a77

View file

@ -10,7 +10,7 @@ reset_root_password() {
sleep 3 sleep 3
done done
echo "changeme" | node ./dist/scripts/reset-password.js -u root echo "changeme" | npm run reset-password -- -u root
} }
# cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.sh # cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.sh