hey guys - new to HomeSeer, but not HA in general. I was confused when I searched high and low for a systemd init script for HomeSeer, and couldn't find one. Anyways, here is what I'm using for my init script on ubuntu 16.04
All that is required is to first create the following script:
make sure it has the following contents (note- replace your own homeseer home value in place of /root/HomeSeer)
Then enable the service:
If this helps out just 1 person, all my struggles were worth it Let me know if you have any questions!
All that is required is to first create the following script:
Code:
vi /lib/systemd/system/homeseer.service
Code:
[Unit] Description=HomeSeer After=network.target [Service] WorkingDirectory=/root/HomeSeer ExecStart=/usr/bin/mono /root/HomeSeer/HSConsole.exe --log Restart=on-failure [Install] WantedBy=multi-user.target
Code:
systemctl enable homeseer.service
Comment