hassio-build/install/systemd/hassio-supervisor.service
2017-07-26 23:19:43 +02:00

16 lines
371 B
Desktop File

[Unit]
Description=Hass.io supervisor
Requires=docker.service hassio-hc.service
Wants=hassio-hc.service
After=docker.service hassio-hc.service
[Service]
Type=simple
Restart=always
RestartSec=10s
ExecStartPre=-/usr/bin/docker stop hassio_supervisor
ExecStart=%%BIN_DIR%%/hassio-start
ExecStop=-/usr/bin/docker stop hassio_supervisor
[Install]
WantedBy=multi-user.target