gunicorn/examples/gunicorn_rc
Paul J. Davis 3165b0f87f Fix a typo in the documentation.
Some examples had -C instead of -c for specifying the config file. Thanks
to martync@github for the report.

Fixes #86
2010-08-30 11:54:52 -04:00

13 lines
218 B
Plaintext
Executable File

#!/bin sh
GUNICORN=/usr/local/bin/gunicorn
ROOT=/path/to/project
PID=/var/run/gunicorn.pid
APP=main:application
if [ -f $PID ]; then rm $PID fi
cd $ROOT
exec $GUNICORN -c $ROOT/gunicorn.conf.py --pidfile=$PID $APP