diff options
Diffstat (limited to 'support/doc/tools.md')
-rw-r--r-- | support/doc/tools.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md index 69d68464a..4f806a9db 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md | |||
@@ -198,10 +198,10 @@ $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production | |||
198 | ### prune-storage.js | 198 | ### prune-storage.js |
199 | 199 | ||
200 | Some transcoded videos or shutdown at a bad time can leave some unused files on your storage. | 200 | Some transcoded videos or shutdown at a bad time can leave some unused files on your storage. |
201 | To delete them (a confirmation will be demanded first): | 201 | Stop PeerTube and delete these files (a confirmation will be demanded first): |
202 | 202 | ||
203 | ``` | 203 | ``` |
204 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage | 204 | $ sudo systemctl stop peertube && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage |
205 | ``` | 205 | ``` |
206 | 206 | ||
207 | ### optimize-old-videos.js | 207 | ### optimize-old-videos.js |