mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 07:26:28 +00:00
Create hassio-supervisor.service
This commit is contained in:
parent
d339580095
commit
c2e443d04e
@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Hass.io supervisor
|
||||||
|
Requires=docker.service
|
||||||
|
After=docker.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Restart=always
|
||||||
|
RestartSec=5s
|
||||||
|
ExecStart=/usr/sbin/hassio-supervisor
|
||||||
|
ExecStop=-/usr/bin/docker stop hassio_supervisor
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user