genielabs / HomeGenie

HomeGenie, the programmable automation intelligence
https://homegenie.it
GNU General Public License v3.0
389 stars 155 forks source link

Outofbox installation ends with malfunctioning init.d script #300

Closed hutorny closed 1 year ago

hutorny commented 7 years ago

root@i:~# /etc/init.d/homegenie start [ ok ] homegenie started. root@i:~# /etc/init.d/homegenie status [ ok ] homegenie not running.

When started with /usr/local/bin/homegenie/HomeGenie.exe all works as expected. When starting /usr/local/bin/homegenie/startup.sh sudo is reported missing /usr/local/bin/homegenie/startup.sh: 23: /usr/local/bin/homegenie/startup.sh: sudo: not found Exit code: 127

After removing sudo from homegenie/startup.sh all works