mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
9 lines
218 B
Plaintext
Executable File
9 lines
218 B
Plaintext
Executable File
#!/bin sh
|
|
|
|
if [ -f /var/run/gunicorn.pid ]; then
|
|
rm /var/run/gunicorn.pid
|
|
fi
|
|
|
|
cd /path/to/project
|
|
exec /usr/local/bin/gunicorn -C /path/to/project/gunicorn.conf.py \
|
|
--pidfile=/var/run/gunicorn.pid main:application |