deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lalancette <clala...@redhat.com>
Subject [PATCH] Make sure to quote the exec line in the initscript.
Date Tue, 13 Sep 2011 19:46:50 GMT
This is so we put deltacloudd into the background, *not* daemon.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
---
 server/support/fedora/deltacloud-core |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/support/fedora/deltacloud-core b/server/support/fedora/deltacloud-core
index 9dbb900..a0e5fe7 100755
--- a/server/support/fedora/deltacloud-core
+++ b/server/support/fedora/deltacloud-core
@@ -44,7 +44,7 @@ start() {
     [ -x $exec ] || exit 5
 
     echo -n $"Starting $prog: "
-    daemon --user nobody $exec -i $DRIVER -e $API_ENV --port $PORT >> $LOGFILE 2>&1
&
+    daemon --user nobody "$exec -i $DRIVER -e $API_ENV --port $PORT >> $LOGFILE 2>&1
&"
     retval=$?
 
     if [ $retval -eq 0 ] && touch $lockfile ; then
-- 
1.7.4.4


Mime
View raw message