hassio-nextcloud-backup/nextcloud_backup/rootfs/usr/bin/nextcloud_backup.sh

17 lines
490 B
Bash
Raw Normal View History

2019-12-19 15:08:47 +01:00
#!/usr/bin/with-contenv bashio
# ==============================================================================
#
# Community Hass.io Add-ons: Example
#
# Example add-on for Hass.io.
# This add-on displays a random quote every X seconds.
#
# ==============================================================================
cd /opt/nextcloud_backup/
2021-01-05 10:36:44 +01:00
if bashio::config.exists 'log_level'; then
LOG_LEVEL=$(bashio::config 'log_level')
else
LOG_LEVEL='info'
fi
LOG_LEVEL=$LOG_LEVEL npm start