🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/00-named.sh
rootfs/usr/local/etc/docker/init.d/03-php-fpm.sh
rootfs/usr/local/etc/docker/init.d/99-nginx.sh
This commit is contained in:
casjay 2024-08-27 15:36:11 -04:00
parent db7f5d37a0
commit 81989fc826
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
3 changed files with 12 additions and 12 deletions

View File

@ -674,16 +674,16 @@ __fix_permissions "$SERVICE_USER" "$SERVICE_GROUP"
# #
__run_pre_execute_checks 2>/dev/stderr | tee -a -p "/data/logs/entrypoint.log" "/data/logs/init.txt" || exit 20 __run_pre_execute_checks 2>/dev/stderr | tee -a -p "/data/logs/entrypoint.log" "/data/logs/init.txt" || exit 20
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log" && errorCode=0 || errorCode=10 __run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log"
errorCode=$?
if [ -n "$EXEC_CMD_BIN" ]; then if [ -n "$EXEC_CMD_BIN" ]; then
if [ "$errorCode" -eq 0 ]; then if [ "$errorCode" -eq 0 ]; then
SERVICE_EXIT_CODE=0 SERVICE_EXIT_CODE=0
SERVICE_IS_RUNNING="yes" SERVICE_IS_RUNNING="yes"
else else
echo "Failed to execute: ${cmd_exec:-$(eval echo "$EXEC_CMD_BIN $EXEC_CMD_ARGS")}" | tee -p -a "/data/logs/entrypoint.log" "/data/logs/init.txt"
SERVICE_EXIT_CODE=$errorCode SERVICE_EXIT_CODE=$errorCode
rm -Rf "$SERVICE_PID_FILE" SERVICE_IS_RUNNING="${SERVICE_IS_RUNNING:-no}"
SERVICE_IS_RUNNING="no" [ -s "$SERVICE_PID_FILE" ] || rm -Rf "$SERVICE_PID_FILE"
fi fi
SERVICE_EXIT_CODE=0 SERVICE_EXIT_CODE=0
fi fi

View File

@ -574,16 +574,16 @@ __fix_permissions "$SERVICE_USER" "$SERVICE_GROUP"
# #
__run_pre_execute_checks 2>/dev/stderr | tee -a -p "/data/logs/entrypoint.log" "/data/logs/init.txt" || return 20 __run_pre_execute_checks 2>/dev/stderr | tee -a -p "/data/logs/entrypoint.log" "/data/logs/init.txt" || return 20
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log" && errorCode=0 || errorCode=10 __run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log"
errorCode=$?
if [ -n "$EXEC_CMD_BIN" ]; then if [ -n "$EXEC_CMD_BIN" ]; then
if [ "$errorCode" -eq 0 ]; then if [ "$errorCode" -eq 0 ]; then
SERVICE_EXIT_CODE=0 SERVICE_EXIT_CODE=0
SERVICE_IS_RUNNING="yes" SERVICE_IS_RUNNING="yes"
else else
echo "Failed to execute: ${cmd_exec:-$(eval echo "$EXEC_CMD_BIN $EXEC_CMD_ARGS")}" | tee -p -a "/data/logs/entrypoint.log" "/data/logs/init.txt"
SERVICE_EXIT_CODE=$errorCode SERVICE_EXIT_CODE=$errorCode
rm -Rf "$SERVICE_PID_FILE" SERVICE_IS_RUNNING="${SERVICE_IS_RUNNING:-no}"
SERVICE_IS_RUNNING="no" [ -s "$SERVICE_PID_FILE" ] || rm -Rf "$SERVICE_PID_FILE"
fi fi
SERVICE_EXIT_CODE=0 SERVICE_EXIT_CODE=0
fi fi

View File

@ -574,16 +574,16 @@ __fix_permissions "$SERVICE_USER" "$SERVICE_GROUP"
# #
__run_pre_execute_checks 2>/dev/stderr | tee -a -p "/data/logs/entrypoint.log" "/data/logs/init.txt" || return 20 __run_pre_execute_checks 2>/dev/stderr | tee -a -p "/data/logs/entrypoint.log" "/data/logs/init.txt" || return 20
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log" && errorCode=0 || errorCode=10 __run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log"
errorCode=$?
if [ -n "$EXEC_CMD_BIN" ]; then if [ -n "$EXEC_CMD_BIN" ]; then
if [ "$errorCode" -eq 0 ]; then if [ "$errorCode" -eq 0 ]; then
SERVICE_EXIT_CODE=0 SERVICE_EXIT_CODE=0
SERVICE_IS_RUNNING="yes" SERVICE_IS_RUNNING="yes"
else else
echo "Failed to execute: ${cmd_exec:-$(eval echo "$EXEC_CMD_BIN $EXEC_CMD_ARGS")}" | tee -p -a "/data/logs/entrypoint.log" "/data/logs/init.txt"
SERVICE_EXIT_CODE=$errorCode SERVICE_EXIT_CODE=$errorCode
rm -Rf "$SERVICE_PID_FILE" SERVICE_IS_RUNNING="${SERVICE_IS_RUNNING:-no}"
SERVICE_IS_RUNNING="no" [ -s "$SERVICE_PID_FILE" ] || rm -Rf "$SERVICE_PID_FILE"
fi fi
SERVICE_EXIT_CODE=0 SERVICE_EXIT_CODE=0
fi fi