Update run.sh

This commit is contained in:
Alexandre
2021-05-13 17:03:26 +02:00
committed by GitHub
parent 8e34098b43
commit 75f2ceb919

View File

@@ -51,7 +51,7 @@ exec nginx & \
if bashio::config.has_value 'run_duration'; then
RUNTIME=$(bashio::config 'run_duration')
bashio::log.info "... Addon will stop after $RUNTIME hours"
bashio::log.info "... Addon will stop after $RUNTIME"
sleep $RUNTIME && \
bashio::log.info "... Timeout achieved, addon will stop !" && \
kill "$PID"