From da3b7ae7ced983daf5e2264cd97f291f938eedad Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sat, 26 Mar 2022 21:57:11 +0100 Subject: [PATCH] Update hassio-supervisor.service (#204) --- .../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