1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Merge pull request #238 from MCMic/patch-1

Add prune_objects to admin tasks
This commit is contained in:
yalh76 2023-03-07 20:50:35 +01:00 committed by GitHub
commit 01e97d37f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,6 +68,12 @@ You can make users **moderators**. They will then be able to **delete any post**
**--admin** option will **make the user moderator** and **--no-admin** will **take away the moderator privileges** from the user.
### Database prune
To avoid bigger backups than necessary, you can prune from the database objects which are more than 90 days old:
   $ ( cd /var/www/pleroma/live && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl database prune_objects )
## Documentation and resources
* Official app website: <https://pleroma.social/>