Hi,

Pardon the n00b question, but is there a convenient way to make winstone do a hard exit with non-zero value, if it fails to bind to a port (i.e. another instance is running)?

The only way I found on the web is

http://sourceforge.net/apps/trac/vireo/browser/trunk/dspace-vireo/bin/start-winstone?rev=41

which is a bit hacky.

Does anyone have a suggestion?

Thanks!