Compare commits

...

1 Commits

3 changed files with 5 additions and 2 deletions
+1
View File
@@ -9,6 +9,7 @@ POSTGRES_LOG_MIN_MESSAGES="$(case "$AIO_LOG_LEVEL" in
info) printf 'info' ;; info) printf 'info' ;;
warn) printf 'warning' ;; warn) printf 'warning' ;;
error) printf 'error' ;; error) printf 'error' ;;
*) printf 'warning' ;;
esac)" esac)"
export POSTGRES_LOG_MIN_MESSAGES export POSTGRES_LOG_MIN_MESSAGES
+3 -1
View File
@@ -9,8 +9,10 @@ if [ "$AIO_LOG_LEVEL" = "warn" ] || [ "$AIO_LOG_LEVEL" = "error" ]; then
REDIS_LOG_LEVEL="warning" REDIS_LOG_LEVEL="warning"
elif [ "$AIO_LOG_LEVEL" = "info" ]; then elif [ "$AIO_LOG_LEVEL" = "info" ]; then
REDIS_LOG_LEVEL="notice" REDIS_LOG_LEVEL="notice"
elif [ "$AIO_LOG_LEVEL" = "debug" ]; then
REDIS_LOG_LEVEL="debug"
else else
REDIS_LOG_LEVEL="$AIO_LOG_LEVEL" REDIS_LOG_LEVEL="warning"
fi fi
export REDIS_LOG_LEVEL export REDIS_LOG_LEVEL
+1 -1
View File
@@ -21,7 +21,7 @@ if [ -f /run/.containerenv ]; then
fi fi
if [ -n "$CONTAINER_TO_UPDATE" ]; then if [ -n "$CONTAINER_TO_UPDATE" ]; then
exec /watchtower --cleanup --log-level "$AIO_LOG_LEVEL" --run-once "$CONTAINER_TO_UPDATE" exec /watchtower --cleanup --log-level "${AIO_LOG_LEVEL:-warn}" --run-once "$CONTAINER_TO_UPDATE"
else else
echo "'CONTAINER_TO_UPDATE' is not set. Cannot update anything." echo "'CONTAINER_TO_UPDATE' is not set. Cannot update anything."
exit 1 exit 1