Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Commit 0fa020d

Browse files
committed
🔨 Add missing env
1 parent fd6c4ec commit 0fa020d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

nextcloud_backup/rootfs/usr/bin/nextcloud_backup.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,11 @@ if bashio::config.exists 'log_level'; then
1414
else
1515
LOG_LEVEL='info'
1616
fi
17-
LOG_LEVEL=$LOG_LEVEL npm start
17+
18+
if bashio::config.exists 'create_backup_timeout'; then
19+
CREATE_BACKUP_TIMEOUT=$(bashio::config 'create_backup_timeout')
20+
else
21+
CREATE_BACKUP_TIMEOUT='info'
22+
fi
23+
24+
LOG_LEVEL=$LOG_LEVEL CREATE_BACKUP_TIMEOUT=$CREATE_BACKUP_TIMEOUT npm start

0 commit comments

Comments
 (0)