Skip to content

Commit

Permalink
add script for couchdb to start
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Closs committed Jul 18, 2012
1 parent d1c5fd0 commit 8bde4f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export INSTALL_DIR=/var/www/biopay
sudo cp etc/nginx/biopay.conf /etc/nginx/sites-available
sudo cp etc/nginx/vancouverbiodiesel.* /etc/nginx/
sudo cp -R etc/service/biopay /etc/service
sudo cp -R etc/service/couchdb /etc/service
cp -R bin lib views environments etc app.psgi public $INSTALL_DIR

# Set up config file
Expand Down
5 changes: 5 additions & 0 deletions etc/service/couchdb/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

exec 2>&1
export HOME=/home/biopay
exec /home/biopay/src/build-couchdb/build/bin/couchdb >> /var/log/couchdb.log 2>&1

0 comments on commit 8bde4f0

Please sign in to comment.