UP  |  HOME

systemd

Enable persistent journaling for journald by creating the expected storage location. USR1 signal causes journald to write out the log currently stored in memory.

mkdir -p /var/log/journal
systemd-tmpfiles --create --prefix /var/log/journal
killall -USR1 systemd-journald

Disable ctrl-alt-del reboot target.

systemctl mask ctrl-alt-del.target