On Ubuntu, /var/log/journal grows too large. I am told I can safely delete /var/log/journal/* but I'd rather have a quota set.
How do I do this?
Edit /etc/systemd/journald.conf:
SystemMaxUse=.SystemMaxFileSize=.journalctl --vacuum to enforce new limits.For example:
[Journal] # Total limit for all journals: SystemMaxUse=4G # Limit for individual files before rotation: SystemMaxFileSize=1G