Add script to cleanup journald
This commit is contained in:
parent
0b238e4b03
commit
6aa624a1d5
5
scripts/cleanup-journal.sh
Normal file
5
scripts/cleanup-journal.sh
Normal file
@ -0,0 +1,5 @@
|
||||
# Vacuum by time
|
||||
# journalctl --vacuum-time=2d
|
||||
|
||||
# Vacuum by size
|
||||
journalctl --vacuum-size=500M
|
Loading…
Reference in New Issue
Block a user