Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
e2b031aa
Commit
e2b031aa
authored
May 22, 2004
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collector #1291: zopectl start broken.
parent
5f863718
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
lib/python/Zope/Startup/zopectl.py
lib/python/Zope/Startup/zopectl.py
+2
-0
lib/python/Zope/Startup/zopeschema.xml
lib/python/Zope/Startup/zopeschema.xml
+11
-0
No files found.
lib/python/Zope/Startup/zopectl.py
View file @
e2b031aa
...
@@ -24,6 +24,7 @@ Options:
...
@@ -24,6 +24,7 @@ Options:
-h/--help -- print this usage message and exit
-h/--help -- print this usage message and exit
-i/--interactive -- start an interactive shell after executing commands
-i/--interactive -- start an interactive shell after executing commands
-l/--logfile -- log file to be read by logtail command
-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
action [arguments] -- see below
Actions are commands like "start", "stop" and "status". If -i is
Actions are commands like "start", "stop" and "status". If -i is
...
@@ -81,6 +82,7 @@ class ZopeCtlOptions(ZDOptions):
...
@@ -81,6 +82,7 @@ class ZopeCtlOptions(ZDOptions):
default
=
1
)
default
=
1
)
self
.
add
(
"logfile"
,
None
,
"l:"
,
"logfile="
)
self
.
add
(
"logfile"
,
None
,
"l:"
,
"logfile="
)
self
.
add
(
"prompt"
,
"runner.prompt"
,
default
=
"zopectl>"
)
self
.
add
(
"prompt"
,
"runner.prompt"
,
default
=
"zopectl>"
)
self
.
add
(
"umask"
,
"runner.umask"
,
"m:"
,
"umask="
)
def
realize
(
self
,
*
args
,
**
kw
):
def
realize
(
self
,
*
args
,
**
kw
):
ZDOptions
.
realize
(
self
,
*
args
,
**
kw
)
ZDOptions
.
realize
(
self
,
*
args
,
**
kw
)
...
...
lib/python/Zope/Startup/zopeschema.xml
View file @
e2b031aa
...
@@ -138,6 +138,17 @@
...
@@ -138,6 +138,17 @@
</description>
</description>
</key>
</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"
<key
name=
"default-to-interactive"
datatype=
"boolean"
required=
"no"
default=
"true"
>
required=
"no"
default=
"true"
>
<description>
<description>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment