Created
December 17, 2016 11:38
-
-
Save maunsen/4de87834624aaf6a4f2e77d1f652b408 to your computer and use it in GitHub Desktop.
Systemdeamon file for Home Assistant under /etc/systemd/system/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Home Assistant | |
After=network.target | |
[Service] | |
Type=simple | |
User=homeassistant | |
ExecStartPre=sudo /usr/bin/bt-device -d CC-RT-BLE | |
ExecStartPre=source /srv/homeassistant/homeassistant_venv/bin/activate | |
ExecStart=/srv/homeassistant/homeassistant_venv/bin/hass -c "/home/homeassistant/.homeassistant" | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment