SITES=[
- ('stderr.nl', ['php']),
-# ('stdin.nl', ['php']),
+ ('stderr.nl', ['php', ('trac', 'applications/trac/trac.fcgi')]),
+ ('stdin.nl', ['php']),
('stdout.nl', ['php']),
('ninniach.nl', ['php']),
-# ('evolution-events.nl', ['php']), #, ('xerxes', 'applications/xerxes/manage.py runfcgi'), ('wipi', 'applications/wipi/wipi.fcgi')]),
+ ('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')]),
# ('stdio.flexvps.nl', ['php']),
# ('foresightsecurity.nl', ['php']),
]
# 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', '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))