hassio-supervised-installer/files/hassio-supervisor.service
Stefan Agner b7fa6c0030 use templates and always adjust paths
This prepares for further customization of file locations.
2019-07-21 19:11:52 +02:00

15 lines
337 B
Desktop File

[Unit]
Description=Hass.io supervisor
Requires=%%DOCKER_SERVICE%%
After=%%DOCKER_SERVICE%% dbus.socket
[Service]
Type=simple
Restart=always
RestartSec=5s
ExecStartPre=-%%DOCKER_BINARY%% stop hassio_supervisor
ExecStart=/usr/sbin/hassio-supervisor
ExecStop=-%%DOCKER_BINARY%% stop hassio_supervisor
[Install]
WantedBy=multi-user.target