diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index c4c9c9b8..84ce82c3 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -324,6 +324,9 @@ occ_command config:system:set remember_login_cookie_lifetime --value="1800" # Set logrotate (max 10 MB) occ_command config:system:set log_rotate_size --value="10485760" +# Set trashbin retention obligation (save it in trahbin for 6 months or delete when space is needed) +occ_command config:system:set trashbin_retention_obligation --value="auto, 180" + # Change simple signup if grep -rq "free account" "$NCPATH"/core/templates/layout.public.php then