Permalink
Browse files

Fixing start code

  • Loading branch information...
1 parent a082b15 commit 4100865bc405676e123c23d1ac36b15bfcdc4a34 @sbisbee committed Sep 1, 2010
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/main/tools/etc/init.d/couchdb-lucene
@@ -48,11 +48,8 @@ do_start()
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
- PIDFILE=$PIDFILE start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
- || return 1
- PIDFILE=$PIDFILE start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON -- \
- $DAEMON_ARGS \
- || return 2
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test || return 1
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS || return 2
}
#

0 comments on commit 4100865

Please sign in to comment.