view wiki/server/moin @ 3505:cd43bbf56c33

logging: removed logging to ./moin.log from fallback config, better docs
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 14 Apr 2008 18:47:57 +0200
parents caad2c46e525
children
line wrap: on
line source
#!/usr/bin/env python
"""
    moin - control MoinMoin Standalone server

    If you want to use this to put standalone in daemon mode,
    you also need moin.py which is the standalone moin script itself.
                      
    @copyright: 2004-2005 Thomas Waldmann, Nir Soffer
    @license: GNU GPL, see COPYING for details.
"""

# Add the path to moin.py directory 
## import sys
## sys.path.insert(0, '/path/to/moin')

from MoinMoin.server import daemon
from moin import Config, run

script = daemon.DaemonScript(Config.name, run, Config)
script.run()