hass-core/script/home-assistant@.service
2016-03-26 09:58:16 +00:00

16 lines
357 B
Desktop File

# This is a simple service file for systems with systemd to tun HA as user.
#
[Unit]
Description=Home Assistant for %i
After=network.target
[Service]
Type=simple
User=%i
# Enable the following line if you get network-related HA errors during boot
#ExecStartPre=/usr/bin/sleep 60
ExecStart=/usr/bin/hass
SendSIGKILL=no
[Install]
WantedBy=multi-user.target