xarical's picture
add config
0026db8
raw
history blame contribute delete
247 Bytes
#!/bin/bash
# start nginx
service nginx start
# run config script
python config.py
# start the processes
python api.py & echo $!> api.pid
python app.py # blocking
# when unblocked, kill other processes and clean up
pkill -F api.pid
rm api.pid