incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [13/19] git commit: CLOUDSTACK-81: Use non-lsb function
Date Tue, 25 Sep 2012 22:16:50 GMT
CLOUDSTACK-81: Use non-lsb function

Patch fixes typo in function name, in start() for centos/rhel scripts

Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>


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

Branch: refs/heads/4.0
Commit: 49d57139001fd0b6644ebc97aec4634e2af2bbc3
Parents: edd3772
Author: Rohit Yadav <rohit.yadav@citrix.com>
Authored: Tue Sep 25 11:59:34 2012 +0530
Committer: Edison Su <sudison@gmail.com>
Committed: Tue Sep 25 15:06:21 2012 -0700

----------------------------------------------------------------------
 .../centos/SYSCONFDIR/rc.d/init.d/cloud-usage.in   |    2 +-
 .../rhel/SYSCONFDIR/rc.d/init.d/cloud-usage.in     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/49d57139/usage/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-usage.in
----------------------------------------------------------------------
diff --git a/usage/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-usage.in b/usage/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-usage.in
index 69f1b2c..516a842 100755
--- a/usage/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-usage.in
+++ b/usage/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-usage.in
@@ -79,7 +79,7 @@ start() {
 
     echo -n "Starting $PROGNAME" "$SHORTNAME"
 
-    if start_daemon -p $PIDFILE $DAEMON -cp "$CLASSPATH" -pidfile "$PIDFILE" -user "$USER"
-errfile SYSLOG -Dpid=$$ $CLASS
+    if daemon -p $PIDFILE $DAEMON -cp "$CLASSPATH" -pidfile "$PIDFILE" -user "$USER" -errfile
SYSLOG -Dpid=$$ $CLASS
         RETVAL=$?
     then
         rc=0

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/49d57139/usage/distro/rhel/SYSCONFDIR/rc.d/init.d/cloud-usage.in
----------------------------------------------------------------------
diff --git a/usage/distro/rhel/SYSCONFDIR/rc.d/init.d/cloud-usage.in b/usage/distro/rhel/SYSCONFDIR/rc.d/init.d/cloud-usage.in
index 69f1b2c..516a842 100644
--- a/usage/distro/rhel/SYSCONFDIR/rc.d/init.d/cloud-usage.in
+++ b/usage/distro/rhel/SYSCONFDIR/rc.d/init.d/cloud-usage.in
@@ -79,7 +79,7 @@ start() {
 
     echo -n "Starting $PROGNAME" "$SHORTNAME"
 
-    if start_daemon -p $PIDFILE $DAEMON -cp "$CLASSPATH" -pidfile "$PIDFILE" -user "$USER"
-errfile SYSLOG -Dpid=$$ $CLASS
+    if daemon -p $PIDFILE $DAEMON -cp "$CLASSPATH" -pidfile "$PIDFILE" -user "$USER" -errfile
SYSLOG -Dpid=$$ $CLASS
         RETVAL=$?
     then
         rc=0


Mime
View raw message