Java Runtime Environment: which java platform is used and what version Docker
openHAB version: 2.4.0
Issue of the topic: please be detailed explaining your issue
Hi, I try to build a swich for openhab-docker to reboot the host system…for that, I wanted the switch to write the value 1 into a docker mounted volume (host can also read). A cronscript on the host than checks, if the one is present…when it is so, the host reboots. How is the format of the command I have to input in the exec binding? because echo “1” /openhab/scripts/reboot.trigger doesn’t seem to work…Any Ideas?
In close to 100% of cases there’s no need for a reboot and certainly not for a SW switch for this.
This question keeps appearing over and over but it’s always an instance of the XY problem:
the poster lazily wants to reboot OH instead of investigating his problem to find a proper solution.
Sorry for refusing to help with that.
Can you describe how the Item would be setup without a thing, to only trigger this rule? cause it is not shown in the control section if not connected to a thing…
Hi =) I completely forgot on the issue sorry…but the solution @ei_Gelb_Geek works perfectly for touching the reboot.trigger! With the basch script and a cron job on the host for every five minutes to execute it, the reboot should work perfectly =) GREAT THANKS =)