1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-11-24 23:00:11 +00: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

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