mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-12-25 05:42:00 +00:00
quiet s6wrap
This commit is contained in:
parent
0f87787a62
commit
34147c02ae
4 changed files with 6 additions and 0 deletions
|
@ -20,4 +20,6 @@ source /scripts/common
|
|||
# If not, see <https://www.gnu.org/licenses/>.
|
||||
#---------------------------------------------------------------------------------------------
|
||||
|
||||
alias s6wrap='s6wrap --quiet'
|
||||
|
||||
[[ -f /.CONTAINER_VERSION ]] && s6wrap --prepend=01-print-container-version --timestamps --args echo "Container Version: $(cat /.CONTAINER_VERSION), build date $(stat -c '%y' /.CONTAINER_VERSION |sed 's|\(.*\)\.[0-9]* \(.*\)|\1 \2|g')" || true
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
#---------------------------------------------------------------------------------------------
|
||||
|
||||
APPNAME="mlat-client"
|
||||
alias s6wrap='s6wrap --quiet'
|
||||
|
||||
s6wrap --prepend="${APPNAME}" --timestamps --args echo "Started as an s6 service"
|
||||
|
||||
source /scripts/common
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
APPNAME="mlathub"
|
||||
source /scripts/common
|
||||
source /scripts/interpret_ultrafeeder_config
|
||||
alias s6wrap='s6wrap --quiet'
|
||||
|
||||
if [[ -z "${MLAT_CONFIG}" ]] && [[ -z "$MLATHUB_NET_CONNECTOR" ]]; then
|
||||
s6wrap --prepend="${APPNAME}" --timestamps --args echo "No MLAT servers have been defined in MLAT_CONFIG and no external sources have been defined in MLATHUB_NET_CONNECTOR - no need to start MLATHUB"
|
||||
|
|
|
@ -5,6 +5,7 @@ APPNAME="readsb"
|
|||
|
||||
source /scripts/common
|
||||
source /scripts/interpret_ultrafeeder_config
|
||||
alias s6wrap='s6wrap --quiet'
|
||||
|
||||
mkdir -p /run/readsb
|
||||
|
||||
|
|
Loading…
Reference in a new issue