burrow-pi-img/stage3/01-tweaks/files/home-assistant@homeassistant.service

19 lines
346 B
SYSTEMD
Raw Normal View History

2017-01-30 19:52:22 +00:00
# This is a simple service file for systems with systemd to tun HA as user.
#
# For details please check https://home-assistant.io/getting-started/autostart/
#
[Unit]
Description=Home Assistant for %i
After=network.target
[Service]
Type=simple
User=%i
ExecStart=/srv/homeassistant/bin/hass
SendSIGKILL=no
[Install]
WantedBy=multi-user.target