Installed Home Assistant on raspbian jessie without issue and it starts and runs fine manually.
I followed the instructions to add a systemd service, but it wouldn’t start using this method. This is the error:
`● [email protected] - Home Assistant for pi
Loaded: loaded (/lib/systemd/system/[email protected]; enabled)
Active: failed (Result: exit-code) since Wed 2016-04-06 01:46:56 AEST; 12s ago
Process: 18710 ExecStart=/usr/bin/hass (code=exited, status=203/EXEC)
Main PID: 18710 (code=exited, status=203/EXEC)
Apr 06 01:46:55 raspberrypi systemd[1]: Started Home Assistant for pi.
Apr 06 01:46:56 raspberrypi systemd[1]: [email protected]: main process exited, code=exited, status=203/EXEC
Apr 06 01:46:56 raspberrypi systemd[1]: Unit [email protected] entered failed state.
`
After a bit of debugging I noticed the /lib/systemd/system/[email protected] file was trying to run /usr/bin/hass, while the install puts it in /usr/local/bin/hass:
# 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
ExecStart=/usr/bin/hass
[Install]
WantedBy=multi-user.target
It will probably work without the path on most systems