does anybody of you starts openHAB as Daemon using "start-stop-command"? I tried to follow
Hi,
> Hi Thomas, I don't find the attachment either. Could you repost it or upload it somewhere?
second try :-)
Are there any updates already?
Regards,
Thomas E.-E.
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openhab/-/ONEjbecsv54J.
To post to this group, send email to ope...@googlegroups.com.
To unsubscribe from this group, send email to openhab+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openhab?hl=en.
If I kill it, I always have the problem that I cannot reconnect to my KNX IP interface as it still things it has a connections and rejects me for a few minutes.
If the REST API would have a Command API extension, it would be possible to shutdown via e.g. wget http://localhost:8080/rest?command=shutdown
If the REST API would have a Command API extension, it would be possible to shutdown via e.g. wget http://localhost:8080/rest?command=shutdownSo you wouldn´t need the pid.
--
You received this message because you are subscribed to the Google Groups "openhab" group.
If the REST API would have a Command API extension, it would be possible to shutdown via e.g. wget http://localhost:8080/rest?command=shutdownSo you wouldn´t need the pid.No way I would allow normal users to shut down my openHAB instance! And we do not have any fine grained rights management yet - only access or no access :-)
Hi Lars,
as I mentioned, I'm using screen. 'apt-get install screen' should work for rasperry pi with debian (I'm waiting for my rasperry...).
Starting screen gives you a 'new' console, which can be deconnected with shortcut 'ALT-a-d' and reconnected at any time (or from any - maybe new - console - only be shure to use the same login ;) ) with 'screen -r'. With screen running, you can close the ssh-connection without terminating the java-session.
Regards,
Udo
Hi Udo,when I log into my linux-server using ssh and start the openhab-server using the start.sh script, closing the ssh connection to the linux server also terminates the java process. I am surprised that this is working for you. Are you starting the script in the background with "start.sh &" ?I have been unsuccessful to start OpenHab in the background so far. In particular I did not want to see the osgi console after starting OpenHab with the start.sh script. I tried to disconnect from the console using the "disconnect" command, but it did not bring back the linux shell. Using the options -console 5555 -Dgosh.args=--nointeractive did not help either: After starting OpenHab I was unable to connect to it using telnet on port 5555 (no connection error).What I really want is to log into my linux server remotely (RaspberryPi) using ssh, start OpenHab via the command line and then terminate the ssh connection. Later I want to be able to telnet to the osgi runntime directly to shut it down.Any hits?Cheers Lars
On Wednesday, September 12, 2012 3:28:53 PM UTC+2, Udo Hartmann wrote:Hi,
Quick and dirty: ;) I use screen to start the openhab-server. Then I can close the ssh-connection and reconnect to see the actual output, or to shutdown the server...
Nevertheless the best option would be a deamonized process.
Regards,
Udo Hartmann
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openhab/-/cdHKJYn4IesJ.
Rick