LanguageTool as persisent service on Ubuntu

Hey folks,

I’ve downloaded the latest LT snapshot, uploaded and extracted it on Ubuntu, and started the HTTPServer as described in LanguageTool 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.

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.

Seems to work, thanks! :slight_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?

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
Dienste › Wiki › ubuntuusers.de (in German). LT server started with
“nohup” can only be stopped by killing it (killl ).

Regards
Daniel


http://www.danielnaber.de

Thanks Daniel, works like a charm! :slight_smile: