Skip to content

Commit c613625

Browse files
committed
bugfix/CLOUDSTACK-7476 for 4.4 branch.
See #15 for the pull request that was merged to master & associated discussion.
1 parent eaf3ad1 commit c613625

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packaging/centos63/cloud-usage.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ start() {
8080

8181
echo -n "Starting $PROGNAME" "$SHORTNAME"
8282

83-
if daemon --pidfile $PIDFILE $DAEMON -cp "$CLASSPATH" -pidfile "$PIDFILE" -user "$USER" \
83+
if daemon --pidfile $PIDFILE $DAEMON -home "$JAVA_HOME" -cp "$CLASSPATH" -pidfile "$PIDFILE" -user "$USER" \
8484
-errfile $LOGDIR/cloudstack-usage.err -outfile $LOGDIR/cloudstack-usage.out -Dpid=$$ $CLASS
8585
RETVAL=$?
8686
then

packaging/debian/init/cloud-usage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ start() {
102102
exit 1
103103
fi
104104

105-
if start_daemon -p $PIDFILE $DAEMON -cp "$CLASSPATH" -pidfile "$PIDFILE" -outfile SYSLOG -errfile SYSLOG -Dpid=$$ $CLASS
105+
if start_daemon -p $PIDFILE $DAEMON -home "$JAVA_HOME" -cp "$CLASSPATH" -pidfile "$PIDFILE" -outfile SYSLOG -errfile SYSLOG -Dpid=$$ $CLASS
106106
RETVAL=$?
107107
then
108108
rc=0

0 commit comments

Comments
 (0)