cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 2b34df0
Date Fri, 23 Oct 2015 11:58:19 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master e15e1f6ac -> 2b34df0da


CLOUDSTACK-8815 : Issues with cloudstack-management init script

instead of using basename use target file.


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

Branch: refs/heads/master
Commit: 734e42d2b2de1050da4c81a922ce769e020fc0df
Parents: 3ded3e9
Author: Sudhansu <sudhansu.sahu@citrix.com>
Authored: Thu Sep 10 19:59:51 2015 +0530
Committer: Sudhansu <sudhansu.sahu@citrix.com>
Committed: Mon Sep 28 17:31:07 2015 +0530

----------------------------------------------------------------------
 packaging/centos63/cloud-ipallocator.rc | 2 +-
 packaging/centos63/cloud-management.rc  | 2 +-
 packaging/centos7/cloud-ipallocator.rc  | 2 +-
 packaging/fedora20/cloud-ipallocator.rc | 2 +-
 packaging/fedora20/cloud-management.rc  | 2 +-
 packaging/fedora21/cloud-ipallocator.rc | 2 +-
 packaging/fedora21/cloud-management.rc  | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/734e42d2/packaging/centos63/cloud-ipallocator.rc
----------------------------------------------------------------------
diff --git a/packaging/centos63/cloud-ipallocator.rc b/packaging/centos63/cloud-ipallocator.rc
index d26287d..d3eadec 100755
--- a/packaging/centos63/cloud-ipallocator.rc
+++ b/packaging/centos63/cloud-ipallocator.rc
@@ -25,7 +25,7 @@
 
 # set environment variables
 
-SHORTNAME=`basename $0`
+SHORTNAME="$(basename $(readlink -f $0))"
 PIDFILE=/var/run/"$SHORTNAME".pid
 LOCKFILE=/var/lock/subsys/"$SHORTNAME"
 LOGFILE=/var/log/cloudstack/ipallocator/ipallocator.log

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/734e42d2/packaging/centos63/cloud-management.rc
----------------------------------------------------------------------
diff --git a/packaging/centos63/cloud-management.rc b/packaging/centos63/cloud-management.rc
index 6d28748..f5ed7a8 100755
--- a/packaging/centos63/cloud-management.rc
+++ b/packaging/centos63/cloud-management.rc
@@ -42,7 +42,7 @@ if [ -r /lib/lsb/init-functions ]; then
 fi
 
 
-NAME="$(basename $0)"
+NAME="$(basename $(readlink -f $0))"
 export SERVICE_NAME="$NAME"
 stop() {
 	SHUTDOWN_WAIT="30"

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/734e42d2/packaging/centos7/cloud-ipallocator.rc
----------------------------------------------------------------------
diff --git a/packaging/centos7/cloud-ipallocator.rc b/packaging/centos7/cloud-ipallocator.rc
index d26287d..d3eadec 100755
--- a/packaging/centos7/cloud-ipallocator.rc
+++ b/packaging/centos7/cloud-ipallocator.rc
@@ -25,7 +25,7 @@
 
 # set environment variables
 
-SHORTNAME=`basename $0`
+SHORTNAME="$(basename $(readlink -f $0))"
 PIDFILE=/var/run/"$SHORTNAME".pid
 LOCKFILE=/var/lock/subsys/"$SHORTNAME"
 LOGFILE=/var/log/cloudstack/ipallocator/ipallocator.log

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/734e42d2/packaging/fedora20/cloud-ipallocator.rc
----------------------------------------------------------------------
diff --git a/packaging/fedora20/cloud-ipallocator.rc b/packaging/fedora20/cloud-ipallocator.rc
index d26287d..d3eadec 100755
--- a/packaging/fedora20/cloud-ipallocator.rc
+++ b/packaging/fedora20/cloud-ipallocator.rc
@@ -25,7 +25,7 @@
 
 # set environment variables
 
-SHORTNAME=`basename $0`
+SHORTNAME="$(basename $(readlink -f $0))"
 PIDFILE=/var/run/"$SHORTNAME".pid
 LOCKFILE=/var/lock/subsys/"$SHORTNAME"
 LOGFILE=/var/log/cloudstack/ipallocator/ipallocator.log

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/734e42d2/packaging/fedora20/cloud-management.rc
----------------------------------------------------------------------
diff --git a/packaging/fedora20/cloud-management.rc b/packaging/fedora20/cloud-management.rc
index 6d28748..f5ed7a8 100755
--- a/packaging/fedora20/cloud-management.rc
+++ b/packaging/fedora20/cloud-management.rc
@@ -42,7 +42,7 @@ if [ -r /lib/lsb/init-functions ]; then
 fi
 
 
-NAME="$(basename $0)"
+NAME="$(basename $(readlink -f $0))"
 export SERVICE_NAME="$NAME"
 stop() {
 	SHUTDOWN_WAIT="30"

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/734e42d2/packaging/fedora21/cloud-ipallocator.rc
----------------------------------------------------------------------
diff --git a/packaging/fedora21/cloud-ipallocator.rc b/packaging/fedora21/cloud-ipallocator.rc
index d26287d..d3eadec 100755
--- a/packaging/fedora21/cloud-ipallocator.rc
+++ b/packaging/fedora21/cloud-ipallocator.rc
@@ -25,7 +25,7 @@
 
 # set environment variables
 
-SHORTNAME=`basename $0`
+SHORTNAME="$(basename $(readlink -f $0))"
 PIDFILE=/var/run/"$SHORTNAME".pid
 LOCKFILE=/var/lock/subsys/"$SHORTNAME"
 LOGFILE=/var/log/cloudstack/ipallocator/ipallocator.log

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/734e42d2/packaging/fedora21/cloud-management.rc
----------------------------------------------------------------------
diff --git a/packaging/fedora21/cloud-management.rc b/packaging/fedora21/cloud-management.rc
index 6d28748..f5ed7a8 100755
--- a/packaging/fedora21/cloud-management.rc
+++ b/packaging/fedora21/cloud-management.rc
@@ -42,7 +42,7 @@ if [ -r /lib/lsb/init-functions ]; then
 fi
 
 
-NAME="$(basename $0)"
+NAME="$(basename $(readlink -f $0))"
 export SERVICE_NAME="$NAME"
 stop() {
 	SHUTDOWN_WAIT="30"


Mime
View raw message