SITES=[
-# ('stderr.nl', ['php']),
-# ('stdin.nl', ['php']),
+ ('stderr.nl', ['php', ('trac', 'applications/trac/trac.fcgi')]),
+ ('stdin.nl', ['php']),
('stdout.nl', ['php']),
-# ('evolution-events.nl', ['php']), #, ('xerxes', 'applications/xerxes/manage.py runfcgi'), ('wipi', 'applications/wipi/wipi.fcgi')]),
+ ('ninniach.nl', ['php']),
+ ('blues-brothers.eu', ['php']),
+ ('evolution-events.nl', ['php',
+ ('wipi', 'applications/wipi/wipi.fcgi'),
+ ('hunternet', 'applications/lexnet/manage.py runfcgi'),
+ ('xerxes', 'applications/xerxes/manage.py runfcgi'),
+ ('dorestad-bookings', 'applications/dorestad-bookings/manage.py.local runfcgi debug=true'),
+ ]),
# ('stdio.flexvps.nl', ['php']),
# ('foresightsecurity.nl', ['php']),
+ ('chimara-if.org', ['php', ('trac', 'applications/trac/trac.fcgi')]),
]
# Generic applications that can be run for any site
# Kill these procs before starting new ones. Only processes of these names that
# are run by the sites in SITES are killed. This is a bit hackish, we should
# really be using pidfiles...
-KILL_PROCS=['php-cgi', 'manage.py']
+KILL_PROCS=['php-cgi', 'manage.py', 'manage.py.local', 'trac.fcgi', 'wipi.fcgi']
## ABSOLUTE path to the spawn-fcgi binary
SPAWNFCGI="/usr/bin/spawn-fcgi"
site_dir = os.path.join(ROOT_DIR, site)
socket_dir = os.path.join(SOCKET_DIR, site_name)
+ # Pass the site dir to all fastcgi processes
+ os.environ['SITE_DIR'] = site_dir
+
if not site_dir:
raise Exception("Site dir does not exist: %s" % (site_dir))