1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-05-02 06:32:42 +01:00

Create hassio-supervisor.service

This commit is contained in:
Pascal Vizeli
2018-04-12 14:15:29 +02:00
committed by GitHub
parent d339580095
commit c2e443d04e

View File

@@ -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