Skip to content

Instantly share code, notes, and snippets.

@bgth
bgth / gunicorn_service.py
Last active January 30, 2017 13:19 — forked from TheWaWaR/gunicorn_service.py
Gunicorn service script {Start | Restart | Stop | Reload | Quit}
# python3 based gunicorn service
#!/usr/bin/env python3
#coding: utf-8
#####################################
# Sample Config file #
# pidfile='config/gunicornRun.pid'; #
# app='server:app'; #
# bind='127.0.0.1:8000' #
#####################################