couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COUCHDB-250) init script missing check for $COUCHDB_PID_FILE
Date Sun, 22 Feb 2009 17:05:01 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jan Lehnardt closed COUCHDB-250.
--------------------------------

    Resolution: Fixed

This works in trunk. Closing.

> init script missing check for $COUCHDB_PID_FILE
> -----------------------------------------------
>
>                 Key: COUCHDB-250
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-250
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 0.9
>         Environment: gentoo
>            Reporter: Joshua Bronson
>            Priority: Blocker
>             Fix For: 0.9
>
>
> the following patch fixes this:
> Index: etc/init/couchdb.tpl.in
> ===================================================================
> --- etc/init/couchdb.tpl.in	(revision 744021)
> +++ etc/init/couchdb.tpl.in	(working copy)
> @@ -63,6 +63,9 @@
>      # Start Apache CouchDB as a background process.
>  
>      command="$COUCHDB -b"
> +    if test -n "$COUCHDB_PID_FILE"; then
> +        command="$command -p $COUCHDB_PID_FILE"
> +    fi
>      if test -n "$COUCHDB_STDOUT_FILE"; then
>          command="$command -o $COUCHDB_STDOUT_FILE"
>      fi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message