On 2005-06-25 15:29:19 -0400, <[EMAIL PROTECTED]> said:
At the urging of everybody, I am changing my production installation
from running Lenya under Tomcat to running Lenya using the included
Jetty.
On MSWindows, Lenya opens a window, so it can be killed with the X. It
seems cleaner to start Lenya with servlet-admin, then shutdown
using a browser. Either way, Lenya will always insist it is starting
for the first time.
On Linux, I need a startup file for init.d. I am writing one to call
"lenya.sh servlet". I remember a note somewhere about avoiding the
fatal error "No such war file lenya.war or build directory!" Lenya
starts from the Lenya directory, so this should not be a big issue. It
would be nice if Lenya shipped with a file suitable for init.d and
chkconfig.
I could not find any command to shutdown Lenya when running using
Jetty. There is no "stop" option in lenya.sh. Why not, and what is
the workaround?
I believe the workaround for stopping Lenya is to simply kill it. You
could have your init script write the lenya PID it a file in /var/run
and add an option to the init script for stopping it. Take look at some
of the other intit.d scripts for examples.
Sean
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]