1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2025-03-31 21:09:36 +02:00

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
This commit is contained in:
Matthias Wirth 2024-03-20 13:41:33 +00:00
parent 357a77ef43
commit 7beb37b14d
16 changed files with 2 additions and 12 deletions
rootfs/etc/s6-overlay
s6-rc.d
02-remove-prometheus-data
03-remove-mlathub-up/dependencies.d
50-store-uuid/dependencies.d
60-mlathub-prep/dependencies.d
adsbx-stats/dependencies.d
mlat-client/dependencies.d
mlathub/dependencies.d
prometheus-readsb/dependencies.d
readsb
user/contents.d
scripts

View file

@ -1,2 +0,0 @@
#!/bin/sh
exec /etc/s6-overlay/scripts/02-remove-prometheus-data-down

View file

@ -1,2 +0,0 @@
#!/bin/sh
exec /etc/s6-overlay/scripts/02-remove-prometheus-data-init

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec /etc/s6-overlay/scripts/readsb-finish

View file

@ -1,7 +0,0 @@
#!/command/with-contenv bash
# shellcheck shell=bash disable=SC1091
# dummy file to allow for graceful shutdown
# I don't know if we need this, but it won't hurt anything
exit 0