我按照这个教程在beagle bone重启后启动openhab:
Autostart ($4. Autostart OpenHAB)
但是它不工作,我得到了以下错误:
root@beaglebone:~# systemctl status openhab.service
openhab.service - OpenHAB
Loaded: loaded (/lib/systemd/system/openhab.service; enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri, 29 May 2015 12:26:39 +0200; 17s ago
Process: 1812 ExecStart=/usr/local/OpenHab1.7/start.sh (code=exited, status=127)
CGroup: name=systemd:/system/openhab.service我的beagle bone操作系统是:"Debian GNU/Linux7 (wheezy)“,你知道为什么吗?提前感谢您的帮助!
发布于 2015-06-10 17:09:46
Debian1.7(在撰写本文时是当前版本)有一个apt-repo,因此您可以轻松地安装OpenHAB代码和插件,就像在OpenHAB上安装所有软件一样。请遵循these instructions for Beaglebone Black,在所有Linux和OSX安装中继续使用generic instructions。当新的稳定版本发布时,您只需
sudo apt-get update
sudo apt-get upgrade为了跟上时代潮流。
https://stackoverflow.com/questions/30527333
复制相似问题