Hello everyone. I want to limit the maximum size of the journal.
On Manjaro wiki there is a page called: Limit the size of .log files & the journal. In this page the instructions are to create a file called size.conf
in the location /etc/systemd/journald.conf.d/size.conf
and then set the SystemMaxUse
and SystemMaxFileSize
limits inside the file.
I browsed on the /etc/systemd/
but I couldn’t find a directory named journald.conf.d
.
So my question is do I have to create the directory journald.conf.d
and inside it the file size.conf
and then set the limits I want?
Or just edit the /etc/systemd/journald.conf
and set the maximum size there as instructed on the Arch WIki systemd/Journal section?
Sorry but I can’t include links to the Manjaro or Arch Wiki sections I mentioned above.