Added bin folder, to contain start scripts for the Barbican services

This commit is contained in:
John Wood 2013-04-01 18:51:33 -05:00
parent 13fa62c0eb
commit f0013a6c49
2 changed files with 21 additions and 1 deletions

1
.gitignore vendored
View File

@ -10,7 +10,6 @@ dist
build
eggs
parts
bin
var
sdist
develop-eggs

21
bin/barbican-api Normal file
View File

@ -0,0 +1,21 @@
#!/bin/bash
# barbican-api - Use uwsgi to run Cloudkeep's Barbican python and wsgi web app.
PKG=barbican
PATH=/opt/uwsgi:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/etc/$PKG
#VENV=.v$PKG
CMMD=uwsgi
#CMMD=/usr/local/bin/$VENV/bin/uwsgi
#DAEMON=/opt/uwsgi/uwsgi
OWNER=barbican
NAME=barbican-api
DESC='Cloudkeep's Barbican API start script'
CONF_FILE=/etc/$PKG/barbican-api.ini
set -e
CMMD_OPTS="--ini $CONF_FILE"
$CMMD $CMMD_OPTS