ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix reset password command
Chocobozzz9f91c44c876b
diff --git a/support/doc/production.md b/support/doc/production.mdindex f539c56c0b..fae2924528 100644--- a/support/doc/production.md+++ b/support/doc/production.md@@ -274,7 +274,7 @@ The administrator username is `root` and the password is automatically generatedlogs (path defined in `production.yaml`). You can also set another password with:```bash-cd /var/www/peertube/peertube-latest && NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run reset-password -- -u root+cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run reset-password -- -u root```Alternatively you can set the environment variable `PT_INITIAL_ROOT_PASSWORD`,