easyctf-2017/deploy
2015-12-23 00:26:27 -06:00

10 lines
205 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 --bind 0.0.0.0:8000 -w 1 "app:app"