[
https://issues.apache.org/jira/browse/COUCHDB-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noah Slater updated COUCHDB-250:
--------------------------------
Fix Version/s: 0.9
Priority: Blocker (was: Minor)
> 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.