Skip to content

Commit

Permalink
Fix logrotate to work properly (#13978)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qubad786 authored Jul 4, 2024
1 parent 4bdb46b commit 26f6de4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/freenas/debian/preinst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ for file in \
/usr/lib/netdata/conf.d/charts.d.conf \
/lib/systemd/system/smartmontools.service \
/usr/share/spice-html5/spice_auto.html \
/usr/share/spice-html5/spice.css
/usr/share/spice-html5/spice.css \
/etc/logrotate.d/netdata
do
dpkg-divert --add --package truenas-files --rename --divert "/var/trash/$(echo "$file" | sed "s/\//_/g")" "$file"
done

0 comments on commit 26f6de4

Please sign in to comment.