mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-14 11:28:02 +02:00
Update run
This commit is contained in:
@@ -9,7 +9,7 @@ if bashio::config.has_value 'run_duration'; then
|
||||
bashio::log.info "Addon will stop after $RUNTIME"
|
||||
sleep $RUNTIME && \
|
||||
bashio::log.info "Timeout achieved, addon will stop !" && \
|
||||
./finish
|
||||
exec ./finish
|
||||
else
|
||||
bashio::log.info "run_duration option not defined, addon will run continuously"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user