You can use the nohup command to ensure processes continue after logoff.
-Original Message-
From: Gary Lawson [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 11:42 AM
To: [EMAIL PROTECTED]
Subject: Logout of telnet session - tomcat stops
Hello
I want to be able to control
On 2001.03.12 06:41 Gary Lawson wrote:
I want to be able to control tomcat on a remote (Solaris) machine by telnet
from a PC.
It starts fine but when I close the telnet session, tomcat stops.
More detail:
1. Log in as gary.
2. su root (it runs on port 80)
3. start tomcat (runs fine)
nohup ./tomcat.sh start;tail -f nohup.out
-Original Message-
From: Gary Lawson [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 11:42 AM
To: [EMAIL PROTECTED]
Subject: Logout of telnet session - tomcat stops
Hello
I want to be able to control tomcat on a remote (Solaris)
Thank you all for prompt responses.
"nohup" worked.
Thanks
Gary
-Original Message-
From: Alistair Hopkins [mailto:[EMAIL PROTECTED]]
Sent: 12 March 2001 11:46
To: [EMAIL PROTECTED]
Subject: RE: Logout of telnet session - tomcat stops
nohup ./tomcat.sh start;tail -f
Hi Gary,
You need to start it from the init.d. Below is a script we use to do the
trick. I connect through ssh, change user to root and then run the script:
/etc/init.d/tomcat start
the stop argument will do the obvious of course.
root@www1:/# cat /etc/init.d/tomcat
#! /bin/sh
case "$1" in