Update run.sh

This commit is contained in:
Alexandre
2021-05-13 18:33:09 +02:00
committed by GitHub
parent eacc653176
commit a27477c1ef

View File

@@ -55,7 +55,8 @@ 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 !" && \
kill "$PID"
#kill "$PID"
exit 0
else
bashio::log.info "... run_duration option not defined, addon will run continuously"
fi