home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / mywiki / moin next >
Text File  |  2006-03-16  |  536b  |  22 lines

  1. #!/usr/bin/python
  2. """
  3. moin - control MoinMoin Standalone server
  4.  
  5. If you want to use this to put standalone in daemon mode,
  6. you also need moin.py which is the standalone moin script itself.
  7.                       
  8. @copyright: 2004-2005 Thomas Waldmann, Nir Soffer
  9. @license: GNU GPL, see COPYING for details.
  10. """
  11.  
  12. # Add the path to moin.py directory 
  13. ## import sys
  14. ## sys.path.insert(0, '/path/to/moin')
  15.  
  16. from MoinMoin.server import daemon
  17. from moin import Config, run
  18.  
  19. script = daemon.DaemonScript(Config.name, run, Config)
  20. script.run()
  21.  
  22.