1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-11-21 21:30:11 +00:00

quiet s6wrap

This commit is contained in:
kx1t 2023-05-04 14:40:09 -04:00
parent 0f87787a62
commit 34147c02ae
4 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -5,6 +5,7 @@ APPNAME="readsb"
source /scripts/common
source /scripts/interpret_ultrafeeder_config
alias s6wrap='s6wrap --quiet'
mkdir -p /run/readsb