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
3be5ff62
Commit
3be5ff62
authored
May 24, 2012
by
Ross Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup lock and pid files if the process dies early in startup.
parent
025e2215
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/Zope2/Startup/run.py
src/Zope2/Startup/run.py
+5
-2
No files found.
doc/CHANGES.rst
View file @
3be5ff62
...
...
@@ -8,6 +8,8 @@ http://docs.zope.org/zope2/releases/.
2.13.14 (unreleased)
--------------------
- Cleanup lock and pid files if the process dies early in startup.
- Added PubStart, PubBeforeCommit and PubAfterTraversal events to the
WSGI publisher.
...
...
src/Zope2/Startup/run.py
View file @
3be5ff62
...
...
@@ -18,8 +18,11 @@ def run():
starter
=
Zope2
.
Startup
.
get_starter
()
opts
=
_setconfig
()
starter
.
setConfiguration
(
opts
.
configroot
)
starter
.
prepare
()
starter
.
run
()
try
:
starter
.
prepare
()
starter
.
run
()
finally
:
starter
.
shutdown
()
def
configure
(
configfile
):
""" Provide an API which allows scripts like zopectl to configure
...
...
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