Commit f8ebd7e6 authored by Jocelyn Delalande's avatar Jocelyn Delalande

simplified fastcgi script : is now generic

parent e1183917
#!/usr/bin/env python
import sys, os
from django.core.servers.fastcgi import runfastcgi
LETTRAVOX_PATH='/var/www/hostile-au-style.fr'
# Add a custom Python path.
sys.path.insert(0, LETTRAVOX_PATH)
sys.path.insert(0, '%s/LettraVox' % LETTRAVOX_PATH)
# Switch to the directory of your project. (Optional.)
# Switch to the directory of your project. (Optional.)
# os.chdir("/home/jdoe/django-projects/blog"
# Set the DJANGO_SETTINGS_MODULE environment variable.
os.environ['DJANGO_SETTINGS_MODULE'] = "LettraVox.settings"
runfastcgi(method="threaded", daemonize="false")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment