1
0
Fork 0

Command consistency

A message to stop PeerTube is already displayed when running the script
This commit is contained in:
Chocobozzz 2024-06-06 11:34:29 +02:00
parent 633039c1fa
commit b2cf5548cd
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -552,11 +552,11 @@ docker compose exec -u peertube peertube npm run create-generate-storyboard-job
### Prune filesystem storage
Some transcoded videos or shutdown at a bad time can leave some unused files on your storage.
Stop PeerTube and delete these files (a confirmation will be demanded first):
To delete these files (a confirmation will be demanded first):
```bash
cd /var/www/peertube/peertube-latest
sudo systemctl stop peertube && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage
sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage
```
### Update PeerTube instance domain name