Back to LanguageTool Homepage - Privacy - Imprint

LanguageTool as persisent service on Ubuntu


(Alphawolf) #1

Hey folks,

I've downloaded the latest LT snapshot, uploaded and extracted it on Ubuntu, and started the HTTPServer as described in http://languagetool.org/http-api/ Working fine so far.

The one thing is that when I close my SSH client (putty) the LanguageTool HTTPServer stops working, too. So how do I tell it that it should be running as a persistent service even while I'm not logged in via SSH.

Thanks a lot!

Oliver

ps. Java Tomcat is available if that's of any help.


(Dominique PELLÉ) #2

If you had "nohup" in front of the command to start the java server, it should work I think.
See "man nohup" for more info.


(Alphawolf) #3

Seems to work, thanks! :smile:

So is this the official way of starting a persistant Java server from a .jar? What would I do to stop this specific Java server/service?


(Daniel Naber) #4

On Fr 28.12.2012, 08:34:28 you wrote:

So is this the official way of starting a persistant Java server from a
.jar? What would I do to stop this specific Java server/service?

The official way is to write some script, as described at
http://wiki.ubuntuusers.de/Dienste (in German). LT server started with
"nohup" can only be stopped by killing it (killl ).

Regards
Daniel

--
http://www.danielnaber.de


(Alphawolf) #5

Thanks Daniel, works like a charm! :smile: