ansible-role-homeassistant/files/homeassistant.service

13 lines
272 B
SYSTEMD
Raw Normal View History

2022-01-24 22:18:15 +01:00
[Unit]
Description=Home Assistant
After=network-online.target
[Service]
Type=simple
User=homeassistant
WorkingDirectory=/home/homeassistant/.homeassistant
ExecStart=/srv/homeassistant/bin/hass -c "/home/homeassistant/.homeassistant"
[Install]
WantedBy=multi-user.target