Our preference for deploying Jive Messenger / Wildfire is to do so under Dan Bernstein’'s url http://cr.yp.to/daemontools.htmlDaemontools[/url]. The one problem that we ran into was that the default script nohups and backgrounds the process when using the “start” operation. This spins the java process off into a separate pid so that Daemontools thinks that it died once the script exits and proceeds to attempt to start it again. The solution is to copy the “start” block in the “case” near the end and adjust it as follows:
echo “Running messenger in the foreground”
exec “$app_java_home/bin/java” …same stuff here… “$@”
Note the “exec” and the lack of a “&” to background the process. Is it possible to get this added to the script in the distribution?