Craig Oates
4 years ago
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||||
|
#!/mnt/dev-shed/midpoint/proj-env/bin/python3 |
||||||
|
# -*- coding: utf-8 -*- |
||||||
|
import re |
||||||
|
import sys |
||||||
|
|
||||||
|
from gunicorn.app.wsgiapp import run |
||||||
|
|
||||||
|
if __name__ == '__main__': |
||||||
|
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) |
||||||
|
sys.exit(run()) |
Reference in new issue