diff --git a/src/Applications/fstrim.md b/src/Applications/fstrim.md new file mode 100644 index 0000000..cc0e49f --- /dev/null +++ b/src/Applications/fstrim.md @@ -0,0 +1,7 @@ +# fstrim + +Enable and start service: + +```sh +systemctl enable --now fstrim.timer +``` diff --git a/src/Applications/systemd-journal.md b/src/Applications/systemd-journal.md new file mode 100644 index 0000000..9a2d88d --- /dev/null +++ b/src/Applications/systemd-journal.md @@ -0,0 +1,14 @@ +# systemd/Journal + +Edit `/etc/systemd/journald.conf.d/00-journal-size.conf`: + +```txt +[Journal] +SystemMaxUse=50M +``` + +After editing, restart service: + +```sh +systemctl restart systemd-journald.service +``` diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 15cdbe3..bd1eea7 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -20,6 +20,8 @@ - [HTTPie](Applications/httpie.md) - [systemd-boot](Applications/systemd-boot.md) - [systemd-swap](Applications/systemd-swap.md) + - [systemd/Journal](Applications/systemd-journal.md) + - [fstrim](Applications/fstrim.md) - [Blueman](Applications/blueman.md) - [dnscrypt-proxy](Applications/dnscrypt-proxy.md) - [OpenVPN](Applications/openvpn.md) diff --git a/src/install-archlinux.md b/src/install-archlinux.md index e127870..13f6d86 100644 --- a/src/install-archlinux.md +++ b/src/install-archlinux.md @@ -111,8 +111,6 @@ timedatectl set-ntp true ### Optimization -Read [Solid state drive](https://wiki.archlinux.org/index.php/Solid_state_drive). - Read [Improving performance/Watchdogs](https://wiki.archlinux.org/index.php/Improving_performance#Watchdogs). Read [Improving performance/Staggered spin-up](https://wiki.archlinux.org/index.php/Improving_performance/Boot_process#Staggered_spin-up). @@ -123,12 +121,6 @@ Read [Silent boot](https://wiki.archlinux.org/index.php/Silent_boot). Read [Fonts](https://wiki.archlinux.org/index.php/Fonts). -### Misc - -[Swap/systemd-swap](https://wiki.archlinux.org/index.php/Swap#systemd-swap) - -[systemd/Journal](https://wiki.archlinux.org/index.php/Systemd/Journal) - ## [List of applications](https://wiki.archlinux.org/index.php/List_of_applications) ### [pacman](https://wiki.archlinux.org/index.php/pacman)