Skip to content

Commit

Permalink
Directory creation in line 86 breaks permissions.
Browse files Browse the repository at this point in the history
Closes PR #20.

Thanks to Alexander Dorofeev.
  • Loading branch information
akaspin authored and janl committed May 1, 2012
1 parent d38b75c commit 58a9b6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions THANKS
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ suggesting improvements or submitting changes. Some of these people are:
* Omar Yasin <omarkj@gmail.com>
* Rogutės Sparnuotos <rogutes@googlemail.com>
* Magnus Hoff <maghoff@gmail.com>
* Alexander Dorofeev <aka.spin@gmail.com>

For a list of authors see the `AUTHORS` file.
1 change: 1 addition & 0 deletions etc/init/couchdb.tpl.in
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ start_couchdb () {
# Start Apache CouchDB as a background process.

mkdir -p "$RUN_DIR"
chown $COUCHDB_USER "$RUN_DIR"
command="$COUCHDB -b"
if test -n "$COUCHDB_STDOUT_FILE"; then
command="$command -o $COUCHDB_STDOUT_FILE"
Expand Down

0 comments on commit 58a9b6f

Please sign in to comment.