easyctf-2017/deploy
2015-12-23 17:24:37 -05:00

11 lines
222 B
Bash
Executable file

#!/bin/bash
echo "Stopping the server..."
pkill gunicorn
sudo service nginx stop
echo "Starting the server..."
cd /home/vagrant/server
sudo service nginx start
gunicorn "app:app" -c /home/vagrant/scripts/gunicorn.py.ini