mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-12-23 21:02:01 +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:
parent
357a77ef43
commit
7beb37b14d
16 changed files with 2 additions and 12 deletions
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/02-remove-prometheus-data-down
|
|
@ -1 +0,0 @@
|
|||
oneshot
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/02-remove-prometheus-data-init
|
2
rootfs/etc/s6-overlay/s6-rc.d/readsb/finish
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/readsb/finish
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/readsb-finish
|
|
@ -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
|
Loading…
Reference in a new issue