mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 23:16:31 +00:00
Improve handling with services on supervisor (#867)
* Improve handling with services on supervisor * add condition * move dbus to required, since we can't start the supervisor
This commit is contained in:
parent
ebc93692f5
commit
f219f239d8
@ -1,11 +1,12 @@
|
||||
[Unit]
|
||||
Description=HassOS supervisor
|
||||
Requires=docker.service
|
||||
Requires=docker.service rauc.service dbus.service
|
||||
Wants=network-online.target
|
||||
After=docker.service rauc.service dbus.socket network-online.target
|
||||
After=docker.service rauc.service dbus.service network-online.target
|
||||
RequiresMountsFor=/mnt/data /mnt/boot /mnt/overlay
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=5
|
||||
ConditionPathExists=/run/dbus/system_bus_socket /run/docker.socket
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
Loading…
x
Reference in New Issue
Block a user