Repository: cloudstack Updated Branches: refs/heads/4.4 b6b25b1ec -> 37bd82aa1
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/37bd82aa Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/37bd82aa Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/37bd82aa Branch: refs/heads/4.4 Commit: 37bd82aa1eedcfa16c80de454e34bdd7cebd3655 Parents: b6b25b1 Author: ynojima <m...@ynojima.net> Authored: Sun May 4 20:20:27 2014 -0600 Committer: Daan Hoogland <d...@onecht.net> Committed: Mon May 5 10:28:41 2014 +0200 ---------------------------------------------------------------------- packaging/centos63/cloud-agent.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/37bd82aa/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