Cleaning Up Systemd Journal Logs

Since I started to host stuff, including my websites, on the first VPS I rented, I have been learning to preserve my server's disk space as much as possible, including cleaning up unneeded files.

Today, I learned about systemd journal logs, and realised that they were the primary reason my VPS disk storage was taken up every day, so I configured /etc/systemd/journald.conf to prevent systemd journal logs from taking up more than a certain disk storage space (SystemMaxUse) and being kept for more than a certain time period (MaxRetentionSec).

This helped freeing up disk space of my server.