From b471d086f18d6b137e49557fdb1f824ef93d172c Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Sat, 3 Apr 2021 23:33:35 +0700 Subject: [PATCH] docs: better systemd service --- Applications/System/systemd-journald.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Applications/System/systemd-journald.md b/Applications/System/systemd-journald.md index 2860f1d..527ed8c 100644 --- a/Applications/System/systemd-journald.md +++ b/Applications/System/systemd-journald.md @@ -1,14 +1,12 @@ # [systemd-journald](https://wiki.archlinux.org/index.php/Systemd/Journal) +Service: `systemd-journald.service` + +Remember to restart service after editing. + Create directory if not exist `/etc/systemd/journald.conf.d` and edit `/etc/systemd/journald.conf.d/00-journal-size.conf`: ```txt [Journal] SystemMaxUse=50M ``` - -Restart service: - -```sh -systemctl restart systemd-journald.service -```