Clean old journald logs

This commit is contained in:
Jeremy Gardais 2018-03-26 14:04:26 +02:00
parent 57ca51b307
commit b4fb6674fd
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ true > /etc/resolv.conf
find /var/log -type f -iname "*.log" -delete -exec touch {} \;
find /var/log -type f \( -iname "*.gz" -o -iname ".*.0" -o -iname "dmesg.*" \) -delete
rm -f -- /root/.bash_history
rm -rf /var/log/journal/*
# }}}