couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r690575 - /incubator/couchdb/trunk/bin/couchdb.tpl.in
Date Sat, 30 Aug 2008 20:18:12 GMT
Author: jan
Date: Sat Aug 30 13:18:11 2008
New Revision: 690575

URL: http://svn.apache.org/viewvc?rev=690575&view=rev
Log:
Fix multi-ini-file support with -b option.

Modified:
    incubator/couchdb/trunk/bin/couchdb.tpl.in

Modified: incubator/couchdb/trunk/bin/couchdb.tpl.in
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/bin/couchdb.tpl.in?rev=690575&r1=690574&r2=690575&view=diff
==============================================================================
--- incubator/couchdb/trunk/bin/couchdb.tpl.in (original)
+++ incubator/couchdb/trunk/bin/couchdb.tpl.in Sat Aug 30 13:18:11 2008
@@ -180,6 +180,7 @@
             start_arguments="$start_arguments, ";
         fi
         start_arguments="$start_arguments \\\"$file\\\""
+        background_start_arguments="$background_start_arguments -c \\\"$file\\\""
     done
     command="`%ICU_CONFIG% --invoke` \
         %ERL% $interactive_option -smp auto -sasl errlog_type error +K true \
@@ -193,7 +194,7 @@
         -eval \"couch_server:start([$start_arguments]), receive done -> done end.\" "
     if test "$BACKGROUND_BOOLEAN" = "true" \
         -a "$RECURSED_BOOLEAN" = "false"; then
-        $0 -c $ini_files -b -r $RESPAWN_TIMEOUT -p $PID_FILE \
+        $0 $background_start_arguments -b -r $RESPAWN_TIMEOUT -p $PID_FILE \
             -o $STDOUT_FILE -e $STDERR_FILE -R &
         echo "Apache CouchDB has started, time to relax."
     else



Mime
View raw message