Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add script for couchdb to start

  • Loading branch information...
commit 8bde4f033a6d546324dd4eabaade59161ea379f7 1 parent d1c5fd0
Luke Closs authored
Showing with 6 additions and 0 deletions.
  1. +1 −0  bin/install
  2. +5 −0 etc/service/couchdb/run
View
1  bin/install
@@ -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
View
5 etc/service/couchdb/run
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.