[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit with tomcat, PID problem

From: Jan-Henrik Haukeland
Subject: Re: monit with tomcat, PID problem
Date: Fri, 30 Apr 2004 23:03:58 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Reasonable Discussion, linux)

"Ugo Bellavance" <address@hidden> writes:

>>-----Message d'origine-----
>>De : Jan-Henrik Haukeland [mailto:address@hidden
>>Envoyé : 30 avril, 2004 15:30
>>À : This is the general mailing list for monit
>>Objet : Re: monit with tomcat, PID problem
>>The default tomcat script *does* in fact put itself in the
>>background. So I'm curios, how is the pid file for tomcat created and
>>do you use the default tomcate script?
> Yes I do.  However, if I remove the '&' in the script
> and then I execute the or script, I don't get
> my prompt back... Am I missing something here?

This is exactly what should happen[1], if you do this and use from monit you should get the correct pid in the pid
file. Right?

[1] The reason you do not get your prompt back is that the script does
an exec and replace the shell (see man exec).

Jan-Henrik Haukeland

reply via email to

[Prev in Thread] Current Thread [Next in Thread]