summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/couchdb.tpl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in
index 3d660e3f7..81bb8b840 100644
--- a/bin/couchdb.tpl.in
+++ b/bin/couchdb.tpl.in
@@ -232,7 +232,7 @@ start_couchdb () {
interactive_option="+Bd -noinput"
fi
command="%ERL% $interactive_option $ERL_START_OPTIONS \
- -env ERL_LIBS %localerlanglibdir% -couch_ini $start_arguments -s couch"
+ -env ERL_LIBS $ERL_LIBS:%localerlanglibdir% -couch_ini $start_arguments -s couch"
if test "$BACKGROUND" = "true" -a "$RECURSED" = "false"; then
$0 $background_start_arguments -b -r $RESPAWN_TIMEOUT -p $PID_FILE \
-o $STDOUT_FILE -e $STDERR_FILE -R &