mirror of
https://github.com/linuxserver/docker-flexget.git
synced 2026-02-04 01:03:33 +08:00
Merge pull request #15 from linuxserver/emptylogfile
suppress creation of empty log file when WebUI password is set
This commit is contained in:
commit
62192d83c9
@ -302,6 +302,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **18.09.24:** - Suppress creation of empty log file when WebUI password is set.
|
||||
* **17.08.24:** - Revert to Alpine 3.20 due to 1st party plugin incompatibility with Python 3.12.
|
||||
* **19.06.24:** - Rebase to Alpine 3.20.
|
||||
* **20.03.24:** - Rebase to Alpine 3.19.
|
||||
|
||||
@ -55,6 +55,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "18.09.24:", desc: "Suppress creation of empty log file when WebUI password is set."}
|
||||
- { date: "17.08.24:", desc: "Revert to Alpine 3.20 due to 1st party plugin incompatibility with Python 3.12."}
|
||||
- { date: "19.06.24:", desc: "Rebase to Alpine 3.20."}
|
||||
- { date: "20.03.24:", desc: "Rebase to Alpine 3.19."}
|
||||
|
||||
@ -29,7 +29,7 @@ if [[ ! -f "${FG_CONFIG_FILE}" ]]; then
|
||||
fi
|
||||
|
||||
if [[ -n "${FG_WEBUI_PASSWORD}" ]]; then
|
||||
if ! flexget -c "${FG_CONFIG_FILE}" --loglevel error web passwd "${FG_WEBUI_PASSWORD}" | tee /dev/stderr | grep -q 'Updated password'; then
|
||||
if ! flexget -c "${FG_CONFIG_FILE}" --logfile "${FG_LOG_FILE:-/config/.flexget/flexget.log}" --loglevel error web passwd "${FG_WEBUI_PASSWORD}" | tee /dev/stderr | grep -q 'Updated password'; then
|
||||
echo "Halting init, please address the above issues and recreate the container"
|
||||
sleep infinity
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user