mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-25 16:56:04 +02:00
Reduce max restarts from 10 to 5
This commit is contained in:
@@ -201,7 +201,7 @@ if $PID1; then
|
|||||||
chmod +x "$runfile"
|
chmod +x "$runfile"
|
||||||
(
|
(
|
||||||
restart_count=0
|
restart_count=0
|
||||||
max_restarts=10
|
max_restarts=5
|
||||||
while true; do
|
while true; do
|
||||||
"$runfile"
|
"$runfile"
|
||||||
rc=$?
|
rc=$?
|
||||||
|
|||||||
Reference in New Issue
Block a user