Permalink
Browse files

Add nohup to running couch to make it work with Test Kitchen

  • Loading branch information...
Chris Beauchamp
Chris Beauchamp committed Jan 9, 2014
1 parent bf88bed commit bc0a6d0cd2664807a13c369707987a98b310e057
Showing with 1 addition and 1 deletion.
  1. +1 −1 files/default/couchdb.init
@@ -79,7 +79,7 @@ start_couchdb () {
mkdir -p "$RUN_DIR"
if test -n "$COUCHDB_USER"; then
chown $COUCHDB_USER "$RUN_DIR"
- if su $COUCHDB_USER -c "$command" > /dev/null; then
+ if nohup su $COUCHDB_USER -c "$command" > /dev/null; then
return $SCRIPT_OK
else
return $SCRIPT_ERROR

0 comments on commit bc0a6d0

Please sign in to comment.