Skip to content

Start ZEO in "console" mode #37

Open
@avoinea

Description

@avoinea

Unfortunately there is no console equivalent like we have for Plone instance:

bin/instance help console
console -- Run the program in the console.
    In contrast to foreground this does not turn on debug mode.

ZeoServer available commands:

bin/zeo help

Documented commands (type help <topic>):
========================================
fg          help  logreopen  reopen_transcript  show   status  wait
foreground  kill  logtail    restart            start  stop

This make it very difficult to start ZEO server in foreground (useful within Docker containers) and also have the logs redirected to STDOUT/STDERR

Expected behavior:

$ bin/zeoserver console

equivalent

$ bin/zeoserver start
$ bin/zeoserver logtail

SIGTERM (Ctrl+C) should stop ZEO gracefully (equivalent bin/zeoserver stop)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions