From 831581ac4c996e5033f769cb9956ddceb264e85f Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 24 Mar 2022 13:53:27 +0100 Subject: [PATCH] Update hassio-supervisor.service --- .../etc/systemd/system/hassio-supervisor.service | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/homeassistant-supervised/etc/systemd/system/hassio-supervisor.service b/homeassistant-supervised/etc/systemd/system/hassio-supervisor.service index 687832a..ed885d7 100644 --- a/homeassistant-supervised/etc/systemd/system/hassio-supervisor.service +++ b/homeassistant-supervised/etc/systemd/system/hassio-supervisor.service @@ -1,7 +1,12 @@ [Unit] Description=Hass.io supervisor -Requires=%%SERVICE_DOCKER%% -After=%%SERVICE_DOCKER%% dbus.socket +Requires=docker.service dbus.service +Wants=network-online.target hassio-apparmor.service time-sync.target +After=docker.service dbus.service network-online.target hassio-apparmor.service time-sync.target +StartLimitIntervalSec=60 +StartLimitBurst=5 +ConditionPathExists=/run/dbus/system_bus_socket +ConditionPathExists=/run/docker.sock [Service] Type=simple