fstrim and journal

main
Tran Hau 2020-06-09 00:03:51 +07:00
parent ba8d8d6b69
commit 447fbf3d9a
4 changed files with 23 additions and 8 deletions

View File

@ -0,0 +1,7 @@
# fstrim
Enable and start service:
```sh
systemctl enable --now fstrim.timer
```

View File

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

View File

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

View File

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