/bin/restart.sh
http://github.com/mercurate/quickstart · Shell · 2 lines · 2 code · 0 blank · 0 comment · 0 complexity · c3df04fa5ca692ff075cd790f84d7198 MD5 · raw file
- ps aux | grep runcpserver |grep 8088| cut -c 9-15 | xargs kill
- su www-data -c "ENV/bin/python ./manage.py runcpserver host=0.0.0.0 port=8088&"