mirror of https://github.com/apache/cloudstack.git
On a secured environment (selinux w/ env_reset enabled in sudoers), the runuser command that is invoked by the daemon() function does not pass along environment variables, so $JAVA_HOME is empty, and JSVC falls back to its default behavior, which may not find java or may not find the intended java. This fix simply passes $JAVA_HOME explicitly using the -home argument to JSVC. Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com> |
||
|---|---|---|
| .. | ||
| centos63 | ||
| debian | ||