File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424
2525. /etc/rc.d/init.d/functions
2626
27- whatami=cloud -agent
27+ whatami=cloudstack -agent
2828
2929# set environment variables
3030
3131SHORTNAME=" $whatami "
3232PIDFILE=/var/run/" $whatami " .pid
3333LOCKFILE=/var/lock/subsys/" $SHORTNAME "
34- LOGFILE=/var/log/cloud /agent/agent.log
34+ LOGFILE=/var/log/cloudstack /agent/agent.log
3535PROGNAME=" Cloud Agent"
3636CLASS=" com.cloud.agent.AgentShell"
3737JSVC=` which jsvc 2> /dev/null` ;
@@ -57,12 +57,12 @@ export JAVA_HOME
5757
5858SCP=" "
5959DCP=" "
60- ACP=` ls /usr/share/cloud/java /* | tr ' \n' ' :' `
60+ ACP=` ls /usr/share/cloudstack-agent/ cloud-plugin-hypervisor-kvm- * .jar ` " : " ` ls /usr/share/cloudstack-agent/lib /* | tr ' \n' ' :' `
6161JCP=" /usr/share/java/jna.jar:/usr/share/java/commons-daemon.jar"
6262
6363# We need to append the JSVC daemon JAR to the classpath
6464# AgentShell implements the JSVC daemon methods
65- export CLASSPATH=" $SCP :$DCP :$ACP :$JCP :/etc/cloud /agent:/usr/lib64/cloud/agent "
65+ export CLASSPATH=" $SCP :$DCP :$ACP :$JCP :/etc/cloudstack /agent:/usr/share/cloudstack-common/scripts "
6666
6767start () {
6868 echo -n $" Starting $PROGNAME : "
You can’t perform that action at this time.
0 commit comments