You can also doing the user switch in the monit exec command because
root don't have to give the password.

.. then exec "/bin/su - postfix -c '/some/path/to/java -classpath .....'"

The launch command is of type : sudo -u postfix java -classpath ..... xyz.java



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to