od-database/jenkins/deploy.sh
2019-03-27 17:40:59 -04:00

10 lines
222 B
Bash
Executable File

#!/bin/bash
export ODDBROOT="od-database"
screen -S oddb_web -X quit
killall -9 uwsgi
echo "starting oddb_web"
screen -S oddb_web -d -m bash -c "cd ${ODDBROOT} && uwsgi od-database.ini 2> stderr.txt"
sleep 1
screen -list