CLOUDSTACK-7851:MS does not start after the VM it is running on is rebooted
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/34f31f90 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/34f31f90 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/34f31f90 Branch: refs/heads/4.5 Commit: 34f31f90331d0027b133ccdc8fdb65ab86ce26cc Parents: 310bb25 Author: Damodar <[email protected]> Authored: Thu Nov 6 12:04:30 2014 +0530 Committer: Kishan Kavala <[email protected]> Committed: Mon Nov 10 15:07:13 2014 +0530 ---------------------------------------------------------------------- packaging/centos63/cloud-management.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/34f31f90/packaging/centos63/cloud-management.rc ---------------------------------------------------------------------- diff --git a/packaging/centos63/cloud-management.rc b/packaging/centos63/cloud-management.rc index eaabd30..6d28748 100755 --- a/packaging/centos63/cloud-management.rc +++ b/packaging/centos63/cloud-management.rc @@ -87,7 +87,8 @@ handle_pid_file() { } start() { - source $(dirname $0)/tomcat.sh + readpath=$(readlink -f $0) + source `dirname $readpath`/tomcat.sh } # See how we were called.
