Permalink
Browse files

Fixing var order

  • Loading branch information...
sbisbee committed Sep 1, 2010
1 parent 4100865 commit 08c015076c0a196effa129d97f2a579b13c76600
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/main/bin/run
  2. +2 −2 src/main/tools/etc/init.d/couchdb-lucene
View
@@ -3,7 +3,7 @@
NAME="couchdb-lucene"
BACKGROUND=false #whether to run in the background or not
STDOUT_FILE="" #where to send background stdout to (defaults to &1)
-PID_FILE="/var/run/couchdb-lucene/couchdb-lucene.pid"
+PID_FILE=/var/run/couchdb-lucene/couchdb-lucene.pid
SCRIPT_OK=0
SCRIPT_ERROR=1
@@ -19,9 +19,9 @@ SCRIPT_ERROR_NOT_INSTALLED=5
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="CouchDB Lucene index"
NAME="couchdb-lucene"
-DAEMON=/usr/local/couchdb-lucene-0.5.5/bin/run
PIDFILE=/var/run/$NAME/$NAME.pid
-DAEMON_ARGS="$PIDFILE"
+DAEMON=/usr/local/couchdb-lucene-0.5.5/bin/run
+DAEMON_ARGS="-o /var/log/couchdb-lucene.log -b"
SCRIPTNAME=`basename $0`
LSB_LIBRARY=/lib/lsb/init-functions

0 comments on commit 08c0150

Please sign in to comment.