From 13a3f18651b07f9f057ebe869eec76263adc5f32 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 9 Feb 2023 14:13:04 +0000 Subject: [PATCH] fix healthcheck fix healthcheck --- entrypoint-healthcheck.sh | 5 ++--- entrypoint-user.sh | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/entrypoint-healthcheck.sh b/entrypoint-healthcheck.sh index 2395897..e4a35c9 100755 --- a/entrypoint-healthcheck.sh +++ b/entrypoint-healthcheck.sh @@ -1,3 +1,2 @@ -#!/bin/bash -echo HEALTHCHECK -exec s6-setuidgid ${USERNAME} /linuxgsm/*server monitor +#!/usr/bin/with-contenv bas +exec s6-setuidgid ${USERNAME} /linuxgsm/*server monitor || exit 1 diff --git a/entrypoint-user.sh b/entrypoint-user.sh index ab92018..344c481 100755 --- a/entrypoint-user.sh +++ b/entrypoint-user.sh @@ -1,5 +1,4 @@ #!/bin/bash -export HOME="/${USERNAME}" # Setup game server if [ ! -f "${GAMESERVER}" ]; then echo -e ""