mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Show in logs
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
PATHTOFILES="$(bashio::config "CONFIG_LOCATION")"
|
||||
PATHTOFILES="$(dirname "${PATHTOFILES}")"
|
||||
|
||||
(
|
||||
bashio::log.info "Running update according to defined schedule. Files located in $PATHTOFILES will be imported"
|
||||
if bashio::config.true 'silent'; then
|
||||
bashio::log.warning "Silent mode activated. Only errors will be shown. Please disable in addon options if you need to debug"
|
||||
@@ -11,3 +12,4 @@ else
|
||||
/usr/local/bin/php /var/www/html/artisan importer:auto-import "$PATHTOFILES"/import_files
|
||||
fi
|
||||
fi
|
||||
) &>/proc/1/fd/1
|
||||
|
||||
Reference in New Issue
Block a user