Command consistency
A message to stop PeerTube is already displayed when running the script
This commit is contained in:
parent
633039c1fa
commit
b2cf5548cd
1 changed files with 2 additions and 2 deletions
|
@ -552,11 +552,11 @@ docker compose exec -u peertube peertube npm run create-generate-storyboard-job
|
||||||
### Prune filesystem storage
|
### Prune filesystem storage
|
||||||
|
|
||||||
Some transcoded videos or shutdown at a bad time can leave some unused files on your 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
|
```bash
|
||||||
cd /var/www/peertube/peertube-latest
|
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
|
### Update PeerTube instance domain name
|
||||||
|
|
Loading…
Reference in a new issue