enhancement for in wrapper script in real-world deployments

Deploying eXist-db on a server usually involves setting up a special user that is the owner of the process. I found that if that user does not have a valid shell (/bin/false or /usr/sbin/nologin is not uncommon for daemon accounts), the wrapper script for starting the database fails (when using RUN_AS_USER).

This is a trivial patch that fixes the problem.
for sudo it would probably require (potentially) a modification of the sudoers-list
a seperate item for linux...... would be an option;

SInce the script is actually derived from the original java service wrapper example, I think it is good to ask this question to the original authors on the mailing list: http://sourceforge.net/p/wrapper/mailman/wrapper-user/ 

They are very responsive; please could you file a question there?
That might give a good solution.....