easyctf-2017/deploy

9 lines
157 B
Text
Raw Normal View History

2015-12-21 07:04:00 +00:00
#!/bin/bash
2015-12-21 21:41:55 +00:00
echo "Stopping the server..."
pkill gunicorn
echo "Starting the server..."
2015-12-21 22:37:08 +00:00
cd /home/vagrant/server
2015-12-21 21:41:55 +00:00
gunicorn --bind 0.0.0.0:8000 -w 1 "app:app"