mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-19 11:06:31 +00:00
Move RuntimeDirectory to the Service section (#957)
RuntimeDirectory needs to be in the [Service] section to take effect.
This commit is contained in:
parent
c92b4b54be
commit
503117d8bf
@ -8,12 +8,12 @@ StartLimitIntervalSec=60
|
||||
StartLimitBurst=5
|
||||
ConditionPathExists=/run/dbus/system_bus_socket
|
||||
ConditionPathExists=/run/docker.sock
|
||||
RuntimeDirectory=supervisor
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=5s
|
||||
RuntimeDirectory=supervisor
|
||||
ExecStartPre=-/usr/bin/docker stop hassio_supervisor
|
||||
ExecStart=/usr/sbin/hassos-supervisor
|
||||
ExecStop=-/usr/bin/docker stop hassio_supervisor
|
||||
|
Loading…
x
Reference in New Issue
Block a user