From: Arne Fitzenreiter Date: Thu, 30 Jan 2025 12:49:16 +0000 (+0100) Subject: collectd: add processes* to cleanup list X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c60e0425a9b2474b8f403888cfaaaa06b2e6c1a;p=people%2Fstevee%2Fipfire-2.x.git collectd: add processes* to cleanup list The processes graph was removed some month ago but it was not correct cleaned. I asume because the updater has cleaned the ramdisk but not the persistant copy. Signed-off-by: Arne Fitzenreiter --- diff --git a/config/backup/backup.pl b/config/backup/backup.pl index 3c33608c5..6afd9600b 100644 --- a/config/backup/backup.pl +++ b/config/backup/backup.pl @@ -294,6 +294,7 @@ restore_backup() { /var/log/rrd/collectd/localhost/disk-sr* \ /var/log/rrd/collectd/localhost/disk-ram* \ /var/log/rrd/collectd/localhost/interface \ + /var/log/rrd/collectd/localhost/processes* \ /var/log/rrd/collectd/localhost/thermal-cooling_device* fi diff --git a/config/rootfiles/core/192/update.sh b/config/rootfiles/core/192/update.sh index 072a45dda..99a7aa977 100644 --- a/config/rootfiles/core/192/update.sh +++ b/config/rootfiles/core/192/update.sh @@ -130,6 +130,7 @@ rm -rvf \ /var/log/rrd/collectd/localhost/disk-sr* \ /var/log/rrd/collectd/localhost/disk-ram* \ /var/log/rrd/collectd/localhost/interface \ + /var/log/rrd/collectd/localhost/processes* \ /var/log/rrd/collectd/localhost/thermal-cooling_device* # Start services