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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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