From dabddb6986fd571802879814935d00892128dc85 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Mon, 27 Dec 2021 17:37:02 +0100 Subject: [PATCH] silent --- firefly_iii/config.json | 6 ++++-- firefly_iii/rootfs/scripts/99-run.sh | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/firefly_iii/config.json b/firefly_iii/config.json index 890d3089c..7ee8e2c2f 100644 --- a/firefly_iii/config.json +++ b/firefly_iii/config.json @@ -12,7 +12,8 @@ "options": { "DB_CONNECTION": "sqlite", "APP_KEY": "CHANGEME_32_CHARS_EuC5dfn3LAPzeO", - "CONFIG_LOCATION": "/config/addons_config/fireflyiii/config.yaml" + "CONFIG_LOCATION": "/config/addons_config/fireflyiii/config.yaml", + "silent": true }, "ports": { "8080/tcp": 3473 @@ -28,7 +29,8 @@ "DB_PORT": "str?", "DB_DATABASE": "str?", "DB_USERNAME": "str?", - "DB_PASSWORD": "str?" + "DB_PASSWORD": "str?", + "silent": "bool" }, "slug": "fireflyiii", "services": ["mysql:want"], diff --git a/firefly_iii/rootfs/scripts/99-run.sh b/firefly_iii/rootfs/scripts/99-run.sh index 82ea2bd7d..ee59feafa 100644 --- a/firefly_iii/rootfs/scripts/99-run.sh +++ b/firefly_iii/rootfs/scripts/99-run.sh @@ -68,4 +68,8 @@ php artisan firefly-iii:upgrade-database # LAUNCH APP # ############## -/./usr/local/bin/entrypoint.sh +if bashio::config.true "silent"; then + /./usr/local/bin/entrypoint.sh >/dev/null +else + /./usr/local/bin/entrypoint.sh +fi