Update hassio-supervisor.service
This commit is contained in:
parent
52e073a3ea
commit
831581ac4c
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,12 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Hass.io supervisor
|
Description=Hass.io supervisor
|
||||||
Requires=%%SERVICE_DOCKER%%
|
Requires=docker.service dbus.service
|
||||||
After=%%SERVICE_DOCKER%% dbus.socket
|
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]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
Loading…
Reference in a new issue