From 5c23c9dec21aaf753a2a7f704d16e767ea942970 Mon Sep 17 00:00:00 2001 From: gmega Date: Thu, 5 Dec 2024 08:53:45 -0300 Subject: [PATCH] allow deluge log level to be controlled --- docker/bin/start.sh | 2 +- docker/deluge.Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/bin/start.sh b/docker/bin/start.sh index 6ce7e767d..6b11b31b4 100755 --- a/docker/bin/start.sh +++ b/docker/bin/start.sh @@ -10,4 +10,4 @@ fi cd "${DELUGE_APP}" python ./docker/bin/create_config.py -python -m deluge.core.daemon_entry -c "${DELUGE_CONFIG_DIR}" -d -L debug \ No newline at end of file +python -m deluge.core.daemon_entry -c "${DELUGE_CONFIG_DIR}" -d -L "${DELUGE_LOG_LEVEL}" \ No newline at end of file diff --git a/docker/deluge.Dockerfile b/docker/deluge.Dockerfile index e5aef3148..e692d6541 100644 --- a/docker/deluge.Dockerfile +++ b/docker/deluge.Dockerfile @@ -14,6 +14,7 @@ ENV DELUGE_RPC_PORT=6890 ENV DELUGE_LISTEN_PORTS=6891,6892 ENV DELUGE_DAEMON_USERNAME=user ENV DELUGE_DAEMON_PASSWORD=password +ENV DELUGE_LOG_LEVEL=debug RUN mkdir -p ${DELUGE_APP} ${DELUGE_CONFIG_DIR} RUN groupadd -g ${GID} deluge_user \