Aug 25, 2017

Systemd log files

Systemd only store file in disk if /var/log/journal folder exists.

Restrict log grow

# /etc/systemd/journald.conf
SystemMaxUse=1G
SystemKeepFree=512M
RuntimeMaxUse=512M
RuntimeKeepFree=512M
Reload
systemctl restart  systemd-journald


Clean manually

journalctl --vacuum-size=1G

Archlinux

* Nice feature: freeze Arch binary to a specific date, so I can install without updates
until I want :D

https://wiki.archlinux.org/index.php/Arch_Linux_Archive


* Other way to run container, without Docker
https://wiki.archlinux.org/index.php/Systemd-nspawn