Skip to content

Commit

Permalink
🔨 Add missing env
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebclem committed Feb 14, 2022
1 parent fd6c4ec commit 0fa020d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nextcloud_backup/rootfs/usr/bin/nextcloud_backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ if bashio::config.exists 'log_level'; then
else
LOG_LEVEL='info'
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

0 comments on commit 0fa020d

Please sign in to comment.