Commit e2b031aa authored by Chris McDonough's avatar Chris McDonough

Collector #1291: zopectl start broken.

parent 5f863718
......@@ -24,6 +24,7 @@ Options:
-h/--help -- print this usage message and exit
-i/--interactive -- start an interactive shell after executing commands
-l/--logfile -- log file to be read by logtail command
-m/--umask -- provide octal umask for files created by the managed process
action [arguments] -- see below
Actions are commands like "start", "stop" and "status". If -i is
......@@ -81,6 +82,7 @@ class ZopeCtlOptions(ZDOptions):
default=1)
self.add("logfile", None, "l:", "logfile=")
self.add("prompt", "runner.prompt", default="zopectl>")
self.add("umask", "runner.umask", "m:", "umask=")
def realize(self, *args, **kw):
ZDOptions.realize(self, *args, **kw)
......
......@@ -138,6 +138,17 @@
</description>
</key>
<key name="umask" datatype="zdaemon.zdoptions.octal_type"
required="no"
default="022">
<description>
Command-line option: -m or --umask.
When daemon mode is used, this option specifies the octal umask
of the subprocess.
</description>
</key>
<key name="default-to-interactive" datatype="boolean"
required="no" default="true">
<description>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment