Exemple #1
0
def run_service_windows():
    os.environ['PATH'] += (";" + os.environ['PROGRAMFILES'])
    config = Configuration()
    setup_logging(config)
    from spreadsplug.web import run_windows_service
    config['web']['mode'] = 'processor'
    run_windows_service(config)
Exemple #2
0
def run_service_windows():
    os.environ['PATH'] += (";" + os.environ['PROGRAMFILES'])
    logging.basicConfig(loglevel=logging.ERROR)
    logger = logging.getLogger()
    config = Configuration()
    logger.addHandler(EventHandler())
    from spreadsplug.web import run_windows_service
    run_windows_service(config)
Exemple #3
0
def run_service_windows():
    os.environ['PATH'] += (";" + os.environ['PROGRAMFILES'])
    logging.basicConfig(loglevel=logging.ERROR)
    logger = logging.getLogger()
    config = Configuration()
    logger.addHandler(EventHandler())
    from spreadsplug.web import run_windows_service
    run_windows_service(config)
Exemple #4
0
def run_service_windows():
    os.environ['PATH'] += (";" + os.environ['PROGRAMFILES'])
    config = Configuration()
    config['core']['loglevel'] = 'debug'
    if not config['plugins'].get():
        config['plugins'] = ['autorotate', 'scantailor', 'tesseract',
                             'pdfbeads', 'web']
        config.load_defaults(overwrite=False)
    setup_logging(config)
    from spreadsplug.web import run_windows_service
    config['web']['mode'] = 'processor'
    run_windows_service(config)
Exemple #5
0
def run_service_windows():
    """ Entry point to launch web plugin server on Windows. """
    # Needed so that .exe files in Program Files can be launched.
    os.environ['PATH'] += (";" + os.environ['PROGRAMFILES'])
    config = Configuration()
    config['core']['loglevel'] = 'debug'
    if not config['plugins'].get():
        config['plugins'] = ['autorotate', 'scantailor', 'tesseract',
                             'pdfbeads', 'web']
        config.load_defaults(overwrite=False)
    setup_logging(config)
    from spreadsplug.web import run_windows_service
    config['web']['mode'] = 'processor'
    run_windows_service(config)
Exemple #6
0
def run_service_windows():
    """ Entry point to launch web plugin server on Windows. """
    # Needed so that .exe files in Program Files can be launched.
    os.environ['PATH'] += (";" + os.environ['PROGRAMFILES'])
    config = Configuration()
    config['core']['loglevel'] = 'debug'
    if not config['plugins'].get():
        config['plugins'] = [
            'autorotate', 'scantailor', 'tesseract', 'pdfbeads', 'web'
        ]
        config.load_defaults(overwrite=False)
    setup_logging(config)
    from spreadsplug.web import run_windows_service
    config['web']['mode'] = 'processor'
    run_windows_service(config)