10 lines
No EOL
205 B
Bash
Executable file
10 lines
No EOL
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" |