Update timer

This commit is contained in:
Alexandre
2021-09-14 07:26:16 +02:00
committed by GitHub
parent 45cc22189e
commit 0271afb6b2

View File

@@ -8,11 +8,11 @@ if bashio::config.true 'openvpn_enabled'; then
& bashio::log.info "Addon will stop after $RUNTIME" && \
sleep $RUNTIME && \
bashio::log.info "Timeout achieved, addon will stop !" && \
exit 0
exec ./finish
else
exec s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}" \
& bashio::log.info "Addon will stop after $RUNTIME" && \
sleep $RUNTIME && \
bashio::log.info "Timeout achieved, addon will stop !" && \
exit 0
exec ./finish
fi