Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1987

Show
Ignore:
Timestamp:
06/23/08 11:55:44
Author:
fumanchu
Message:

You may now pass multiple --config args to cherryd.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/cherryd

    r1930 r1987  
    66 
    77 
    8 def start(configfile=None, daemonize=False, environment=None, 
     8def start(configfiles=None, daemonize=False, environment=None, 
    99          fastcgi=False, pidfile=None): 
    1010    """Subscribe all engine plugins and start the engine.""" 
    11     if configfile
    12         cherrypy.config.update(configfile
     11    for c in configfiles or []
     12        cherrypy.config.update(c
    1313     
    1414    engine = cherrypy.engine 
     
    5050     
    5151    p = OptionParser() 
    52     p.add_option('-c', '--config', dest='config', 
    53                  help="specify a config file") 
     52    p.add_option('-c', '--config', action="append", dest='config', 
     53                 help="specify config file(s)") 
    5454    p.add_option('-d', action="store_true", dest='daemonize', 
    5555                 help="run the server as a daemon") 
  • trunk/cherrypy/scaffold/__init__.py

    r1930 r1987  
    99Change to this directory and run: 
    1010 
    11     python cherrypy\cherryd cherrypy\scaffold\site.conf 
     11    python cherrypy\cherryd -c cherrypy\scaffold\site.conf 
    1212 
    1313""" 

Hosted by WebFaction

Log in as guest/cpguest to create tickets