docs: better systemd service

main
Tran Hau 2021-04-03 23:33:35 +07:00
parent 04d206cf32
commit b471d086f1
1 changed files with 4 additions and 6 deletions

View File

@ -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
```