Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start ZEO in "console" mode #37

Open
avoinea opened this issue Jul 24, 2019 · 0 comments
Open

Start ZEO in "console" mode #37

avoinea opened this issue Jul 24, 2019 · 0 comments

Comments

@avoinea
Copy link
Member

avoinea commented Jul 24, 2019

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants