mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 13:20:11 +00:00
S6 (#29)
This commit is contained in:
commit
9253a86864
60 changed files with 68 additions and 9 deletions
|
@ -0,0 +1 @@
|
|||
oneshot
|
2
rootfs/etc/s6-overlay/s6-rc.d/01-print-container-version/up
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/01-print-container-version/up
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/01-print-container-version
|
2
rootfs/etc/s6-overlay/s6-rc.d/02-remove-prometheus-data/down
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/02-remove-prometheus-data/down
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/02-remove-prometheus-data-down
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
2
rootfs/etc/s6-overlay/s6-rc.d/02-remove-prometheus-data/up
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/02-remove-prometheus-data/up
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/02-remove-prometheus-data-init
|
2
rootfs/etc/s6-overlay/s6-rc.d/03-remove-mlathub-up/down
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/03-remove-mlathub-up/down
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/03-remove-mlathub-up-down
|
1
rootfs/etc/s6-overlay/s6-rc.d/03-remove-mlathub-up/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/03-remove-mlathub-up/type
Normal file
|
@ -0,0 +1 @@
|
|||
oneshot
|
2
rootfs/etc/s6-overlay/s6-rc.d/03-remove-mlathub-up/up
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/03-remove-mlathub-up/up
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/03-remove-mlathub-up-init
|
1
rootfs/etc/s6-overlay/s6-rc.d/50-store-uuid/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/50-store-uuid/type
Normal file
|
@ -0,0 +1 @@
|
|||
oneshot
|
2
rootfs/etc/s6-overlay/s6-rc.d/50-store-uuid/up
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/50-store-uuid/up
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/50-store-uuid
|
1
rootfs/etc/s6-overlay/s6-rc.d/60-mlathub-prep/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/60-mlathub-prep/type
Normal file
|
@ -0,0 +1 @@
|
|||
oneshot
|
2
rootfs/etc/s6-overlay/s6-rc.d/60-mlathub-prep/up
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/60-mlathub-prep/up
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/60-mlathub-prep
|
2
rootfs/etc/s6-overlay/s6-rc.d/mlat-client/run
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/mlat-client/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/mlat-client
|
1
rootfs/etc/s6-overlay/s6-rc.d/mlat-client/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/mlat-client/type
Normal file
|
@ -0,0 +1 @@
|
|||
longrun
|
2
rootfs/etc/s6-overlay/s6-rc.d/mlathub/run
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/mlathub/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/mlathub
|
1
rootfs/etc/s6-overlay/s6-rc.d/mlathub/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/mlathub/type
Normal file
|
@ -0,0 +1 @@
|
|||
longrun
|
2
rootfs/etc/s6-overlay/s6-rc.d/prometheus-readsb/run
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/prometheus-readsb/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/prometheus-readsb
|
1
rootfs/etc/s6-overlay/s6-rc.d/prometheus-readsb/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/prometheus-readsb/type
Normal file
|
@ -0,0 +1 @@
|
|||
longrun
|
2
rootfs/etc/s6-overlay/s6-rc.d/readsb/run
Executable file
2
rootfs/etc/s6-overlay/s6-rc.d/readsb/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /etc/s6-overlay/scripts/readsb
|
1
rootfs/etc/s6-overlay/s6-rc.d/readsb/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/readsb/type
Normal file
|
@ -0,0 +1 @@
|
|||
longrun
|
0
rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/mlathub
Normal file
0
rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/mlathub
Normal file
0
rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/readsb
Normal file
0
rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/readsb
Normal file
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
#!/command/with-contenv bash
|
||||
# shellcheck shell=bash disable=SC1091,SC2015
|
||||
|
||||
source /scripts/common
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
#!/command/with-contenv bash
|
||||
# shellcheck shell=bash disable=SC1091
|
||||
|
||||
source /scripts/common
|
7
rootfs/etc/s6-overlay/scripts/02-remove-prometheus-data-init
Executable file
7
rootfs/etc/s6-overlay/scripts/02-remove-prometheus-data-init
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/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
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
#!/command/with-contenv bash
|
||||
#shellcheck shell=bash disable=SC2015,SC1091
|
||||
|
||||
source /scripts/common
|
21
rootfs/etc/s6-overlay/scripts/03-remove-mlathub-up-init
Executable file
21
rootfs/etc/s6-overlay/scripts/03-remove-mlathub-up-init
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/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
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
#!/command/with-contenv bash
|
||||
#shellcheck shell=bash disable=SC2015,SC1091
|
||||
|
||||
source /scripts/common
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
#!/command/with-contenv bash
|
||||
#shellcheck shell=bash disable=SC2015,SC1091
|
||||
|
||||
source /scripts/common
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
#!/command/with-contenv bash
|
||||
# shellcheck shell=bash disable=SC1091,SC2015,SC2016
|
||||
|
||||
#---------------------------------------------------------------------------------------------
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
#!/command/with-contenv bash
|
||||
# shellcheck shell=bash disable=SC1091,SC2015,SC2016
|
||||
|
||||
APPNAME="mlathub"
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
#!/command/with-contenv bash
|
||||
# shellcheck shell=bash disable=SC1091
|
||||
|
||||
source /scripts/common
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
#!/command/with-contenv bash
|
||||
# shellcheck shell=bash disable=SC2015,SC2016,SC1091
|
||||
|
||||
APPNAME="readsb"
|
Loading…
Reference in a new issue