backgrouding server apps
I'm still a bit of a newb, but i have so far been able to get apache up and running on my home server. It works wonderfully. One of the things I have it serving is a web-based java game Settlers of Catan. To get the game running I ssh to my server, type in the appropriate java soc.server.blablabla stuff followed by & to background it. That all works fine. Problem is that for some reason those java apps seem to cancel themselves after a while.
For example, yesterday night I started the game server running, backgrounded it, played a few games on my site then went to bed. This morning a friend wakes me up telling me the game server is down again. I ssh back to the server, type the java.soc.blablabla stuff again and all is well. I can't imgine there'd be any time limit or anything on backgrounded apps, so why would my java apps keep closing at random? Should I start those apps with a method other than ssh to the server?
For example, yesterday night I started the game server running, backgrounded it, played a few games on my site then went to bed. This morning a friend wakes me up telling me the game server is down again. I ssh back to the server, type the java.soc.blablabla stuff again and all is well. I can't imgine there'd be any time limit or anything on backgrounded apps, so why would my java apps keep closing at random? Should I start those apps with a method other than ssh to the server?
