From b4fb6674fdb2ad6c0236fdbdf737ef70b4a13257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Mon, 26 Mar 2018 14:04:26 +0200 Subject: [PATCH] Clean old journald logs --- proxmox/proxmox.template.debian.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/proxmox/proxmox.template.debian.sh b/proxmox/proxmox.template.debian.sh index 2294479..a42676a 100755 --- a/proxmox/proxmox.template.debian.sh +++ b/proxmox/proxmox.template.debian.sh @@ -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/* # }}}