Oki DZ wrote:
> 
> Hi,
> 
> I'm currently using James, and I'd like to know how to restart the Phoenix
> server. Usually, to start it, it is "dist/bin/run.sh". Problem is, once it
> gets sent to background (using "&"), shutting it down has to use "kill
> <pid>". What is the proper way to shutdown Phoenix? "dist/bin/run.sh
> stop"? It seems that it's not the case.

Here's my stop.sh script:

#! /bin/sh
fuser -k /usr/local/avalon/logs/phoenix.log

This kills the process ID that "owns" the phoenix.log file.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to