Clean old journald logs
This commit is contained in:
parent
57ca51b307
commit
b4fb6674fd
|
@ -59,6 +59,7 @@ true > /etc/resolv.conf
|
||||||
find /var/log -type f -iname "*.log" -delete -exec touch {} \;
|
find /var/log -type f -iname "*.log" -delete -exec touch {} \;
|
||||||
find /var/log -type f \( -iname "*.gz" -o -iname ".*.0" -o -iname "dmesg.*" \) -delete
|
find /var/log -type f \( -iname "*.gz" -o -iname ".*.0" -o -iname "dmesg.*" \) -delete
|
||||||
rm -f -- /root/.bash_history
|
rm -f -- /root/.bash_history
|
||||||
|
rm -rf /var/log/journal/*
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue