From 5932f1212e25913d96b0d5e20ca1252e37f68dd1 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 8 Jul 2022 22:35:52 +0200 Subject: [PATCH] Increase Supervisor start rate limit (#2010) A faster restart policy is unlikely to help. Increasing the limit makes it less likely to run into cloud service rate limits (e.g. container registry). --- .../usr/lib/systemd/system/hassos-supervisor.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service index 3de598537..41aa09219 100644 --- a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service +++ b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service @@ -4,8 +4,8 @@ Requires=docker.service rauc.service dbus.service Wants=network-online.target hassos-apparmor.service time-sync.target systemd-journal-gatewayd.socket After=docker.service rauc.service dbus.service network-online.target hassos-apparmor.service time-sync.target systemd-journal-gatewayd.socket RequiresMountsFor=/mnt/data /mnt/boot /mnt/overlay -StartLimitIntervalSec=60 -StartLimitBurst=5 +StartLimitIntervalSec=30m +StartLimitBurst=3 ConditionPathExists=/run/dbus/system_bus_socket ConditionPathExists=/run/docker.sock