1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-11-22 13:50:14 +00:00
docker-adsb-ultrafeeder/rootfs/etc/s6-overlay/scripts/readsb-finish
Matthias Wirth 7beb37b14d replace 02-remove-prometheus-data
02-remove-prometheus-data deletes /run/readsb-prometheus.prom when
the container stops
As this file is created by readsb, remove it instead in a finish script
for readsb which is run when the readsb service is stopped
2024-03-20 13:41:33 +00:00

6 lines
135 B
Text
Executable file

#!/command/with-contenv bash
# shellcheck shell=bash disable=SC1091
source /scripts/common
rm -f /run/readsb-prometheus.prom || true