wyona / yanel

http://www.yanel.org
Apache License 2.0
10 stars 5 forks source link

yanel.sh should check to see if Yanel is already running and, if it is, inform and exit #29

Closed michaelwechner closed 12 years ago

michaelwechner commented 12 years ago

We could try to implement this by dropping a pid file on startup and then use signaling to stop that process

michaelwechner commented 12 years ago

We could also use the pid file for implementing the 'restart' functionality.

csstaub commented 12 years ago

The yanel startup/startup script just calls ant, which in turn calls the startu/shutdown scripts of Tomcat. But those scripts don't allow us to get the PID of the process (they just start Tomcat in the background and then exit). So either we have to change those scripts in Tomcat, or we re-implement them?