From e656fe4b687ad95e4cb5d0448323d029c31a987c Mon Sep 17 00:00:00 2001 From: kx1t <15090643+kx1t@users.noreply.github.com> Date: Mon, 13 Jan 2025 07:15:36 -0500 Subject: [PATCH] Remove old template backup files --- rootfs/etc/s6-overlay/scripts/cleanup | 1 + 1 file changed, 1 insertion(+) diff --git a/rootfs/etc/s6-overlay/scripts/cleanup b/rootfs/etc/s6-overlay/scripts/cleanup index 07abc67..9b6aec1 100755 --- a/rootfs/etc/s6-overlay/scripts/cleanup +++ b/rootfs/etc/s6-overlay/scripts/cleanup @@ -60,6 +60,7 @@ CLEANUP () find /usr/share/planefence/persist/.internal/*.tmp -type f ! -newer /tmp/timestamp -delete 2>/dev/null find /usr/share/planefence/persist/.internal/*.log -type f ! -newer /tmp/timestamp -delete 2>/dev/null find /usr/share/planefence/persist/.internal/dump1090-pf-*.tmp -type f ! -newer /tmp/timestamp -delete 2>/dev/null + find /usr/share/planefence/persist/plane{fence,-alert}-discord.template.~[0-9]*~ -type f ! -newer /tmp/timestamp -delete 2>/dev/null rm -f /tmp/heatmap-*.log find /tmp -mindepth 1 -type f ! -newer /tmp/timestamp -delete 2>/dev/null rm -f /tmp/timestamp