mirror of
https://github.com/sdr-enthusiasts/docker-planefence.git
synced 2025-12-22 11:17:06 +00:00
Remove old template backup files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user