You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by yn...@apache.org on 2014/05/05 05:24:11 UTC

git commit: updated refs/heads/4.4-forward to 03156ec

Repository: cloudstack
Updated Branches:
  refs/heads/4.4-forward c9e201229 -> 03156ecd6


CLOUDSTACK-6571 bugfix: 'service cloudstack-agent stop' fails to stop the process started on boot


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/03156ecd
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/03156ecd
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/03156ecd

Branch: refs/heads/4.4-forward
Commit: 03156ecd6f52bfa0c73f1408ac4baca5332d1cad
Parents: c9e2012
Author: ynojima <ma...@ynojima.net>
Authored: Sun May 4 20:20:27 2014 -0600
Committer: ynojima <ma...@ynojima.net>
Committed: Sun May 4 21:23:31 2014 -0600

----------------------------------------------------------------------
 packaging/centos63/cloud-agent.rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/03156ecd/packaging/centos63/cloud-agent.rc
----------------------------------------------------------------------
diff --git a/packaging/centos63/cloud-agent.rc b/packaging/centos63/cloud-agent.rc
index ece4c27..1f371e9 100755
--- a/packaging/centos63/cloud-agent.rc
+++ b/packaging/centos63/cloud-agent.rc
@@ -26,7 +26,7 @@
 
 # set environment variables
 
-SHORTNAME=`basename $0`
+SHORTNAME=$(basename $0 | sed -e 's/^[SK][0-9][0-9]//')
 PIDFILE=/var/run/"$SHORTNAME".pid
 LOCKFILE=/var/lock/subsys/"$SHORTNAME"
 LOGDIR=/var/log/cloudstack/agent