Permalink
Browse files

add script for couchdb to start

  • Loading branch information...
1 parent d1c5fd0 commit 8bde4f033a6d546324dd4eabaade59161ea379f7 Luke Closs committed Jul 18, 2012
Showing with 6 additions and 0 deletions.
  1. +1 −0 bin/install
  2. +5 −0 etc/service/couchdb/run
View
@@ -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
@@ -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.