diff --git a/supplemental/scripts/install-agent.sh b/supplemental/scripts/install-agent.sh index 27959cdf..82424b46 100755 --- a/supplemental/scripts/install-agent.sh +++ b/supplemental/scripts/install-agent.sh @@ -235,6 +235,7 @@ Environment="KEY=$KEY" ExecStart=/opt/beszel-agent/beszel-agent User=beszel Restart=always +RestartSec=5 [Install] WantedBy=multi-user.target diff --git a/supplemental/scripts/install-hub.sh b/supplemental/scripts/install-hub.sh index 9d63bce7..113792f0 100755 --- a/supplemental/scripts/install-hub.sh +++ b/supplemental/scripts/install-hub.sh @@ -105,6 +105,7 @@ ExecStart=/opt/beszel/beszel serve --http "0.0.0.0:$PORT" WorkingDirectory=/opt/beszel User=beszel Restart=always +RestartSec=5 [Install] WantedBy=multi-user.target