cloudstack/packaging/debian/init
Leo Simons 0ec36e128b Fix CLOUDSTACK-7476: always pass along $JAVA_HOME
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>
2014-09-05 16:39:34 +05:30
..
cloud-agent CLOUDSTACK-6360: Fix JDK paths in ubuntu packaging init scripts, don't use 1.6 2014-08-08 14:26:47 +02:00
cloud-management CLOUDSTACK-6360: Fix JDK paths in ubuntu packaging init scripts, don't use 1.6 2014-08-08 14:26:47 +02:00
cloud-usage Fix CLOUDSTACK-7476: always pass along $JAVA_HOME 2014-09-05 16:39:34 +05:30