add LOG_LEVEL env var

This commit is contained in:
2023-05-28 10:05:35 +00:00
parent 92f41ce321
commit 6fdfa75adb
4 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,7 @@ PUID=${PUID}
PGID=${PGID}
TZ=${TZ}
MODE=${MODE}
LOG_LEVEL=${LOG_LEVEL}
----------------------------------------------------------------------
"

View File

@ -1,3 +1,3 @@
#!/command/with-contenv bash
# shellcheck shell=bash
exec s6-setuidgid cronicle node /app/cronicle/lib/main.js --color 1
exec s6-setuidgid cronicle node /app/cronicle/lib/main.js --debug_level ${LOG_LEVEL} --color ${CRONICLE_color}