mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-22 05:40:10 +00:00
replace 03-remove-mlathub-up
03-remove-mlathub-up deletes /run/mlathub_up when the container stops As this file is created by the mlat-client service, remove it instead in a finish script for mlat-client which is run when the mlat-client service is stopped
This commit is contained in:
parent
7beb37b14d
commit
916f045f4c
15 changed files with 2 additions and 26 deletions
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
exec /etc/s6-overlay/scripts/03-remove-mlathub-up-down
|
|
|
@ -1 +0,0 @@
|
||||||
oneshot
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
exec /etc/s6-overlay/scripts/03-remove-mlathub-up-init
|
|
2
rootfs/etc/s6-overlay/s6-rc.d/mlat-client/finish
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/mlat-client/finish
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec /etc/s6-overlay/scripts/mlat-client-finish
|
|
@ -1,21 +0,0 @@
|
||||||
#!/command/with-contenv bash
|
|
||||||
#shellcheck shell=bash disable=SC2015,SC1091
|
|
||||||
|
|
||||||
# Remove MLATHub Up
|
|
||||||
#---------------------------------------------------------------------------------------------
|
|
||||||
# Copyright (C) 2023, Ramon F. Kolb (kx1t)
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by the
|
|
||||||
# Free Software Foundation, either version 3 of the License, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful, but
|
|
||||||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License along with this program.
|
|
||||||
# If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
#---------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
exit 0
|
|
Loading…
Reference in a new issue