🔨 Add missing env

This commit is contained in:
SebClem 2022-02-14 13:01:20 +01:00
parent fd6c4ec08f
commit 0fa020d0ab
No known key found for this signature in database
GPG Key ID: 3D8E353F900B1305

View File

@ -14,4 +14,11 @@ if bashio::config.exists 'log_level'; then
else else
LOG_LEVEL='info' LOG_LEVEL='info'
fi fi
LOG_LEVEL=$LOG_LEVEL npm start
if bashio::config.exists 'create_backup_timeout'; then
CREATE_BACKUP_TIMEOUT=$(bashio::config 'create_backup_timeout')
else
CREATE_BACKUP_TIMEOUT='info'
fi
LOG_LEVEL=$LOG_LEVEL CREATE_BACKUP_TIMEOUT=$CREATE_BACKUP_TIMEOUT npm start