Skip to content

Commit

Permalink
Update run
Browse files Browse the repository at this point in the history
fix env vars
  • Loading branch information
i-cz authored Jan 25, 2024
1 parent 7877990 commit 51c55b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nightscout/rootfs/etc/services.d/nightscout/run
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ readonly api_key=$(bashio::config 'api_key')
bashio::log.debug "Setting up API KEY: ${api_key}"
readonly mongodb_uri=$(bashio::config 'mongodb_uri')
bashio::log.debug "Setting up MONGODB_URI: ${mongodb_uri}"
readonly connect_source=$(bashio::config 'connect_source')
bashio::log.debug "Setting up CONNECT_SOURCE: ${connect_source}"
readonly connect_link_up_username=$(bashio::config 'connect_link_up_username')
bashio::log.debug "Setting up CONNECT_LINK_UP_USERNAME: ${connect_link_up_username}"
readonly connect_link_up_password=$(bashio::config 'connect_link_up_password')
bashio::log.debug "Setting up CONNECT_LINK_UP_PASSWORD: 'connect_link_up_password'"


export API_SECRET="${api_key}"
Expand Down

0 comments on commit 51c55b0

Please sign in to comment.