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
9d73bb8b
Commit
9d73bb8b
authored
Jun 30, 1999
by
Michel Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed daemon references
parent
7863035f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
z2.py
z2.py
+3
-3
No files found.
z2.py
View file @
9d73bb8b
...
@@ -194,7 +194,7 @@ Zpid=''
...
@@ -194,7 +194,7 @@ Zpid=''
## General configuration options
## General configuration options
##
##
# If you want run as a d
ea
mon, then uncomment the line below:
# If you want run as a d
ae
mon, then uncomment the line below:
if
sys
.
platform
==
'win32'
:
Zpid
=
''
if
sys
.
platform
==
'win32'
:
Zpid
=
''
else
:
Zpid
=
'var/zProcessManager.pid'
else
:
Zpid
=
'var/zProcessManager.pid'
...
@@ -344,7 +344,7 @@ import zLOG, posix
...
@@ -344,7 +344,7 @@ import zLOG, posix
if
Zpid
:
if
Zpid
:
import
zd
ea
mon
,
App
.
FindHomes
import
zd
ae
mon
,
App
.
FindHomes
sys
.
ZMANAGED
=
1
sys
.
ZMANAGED
=
1
x
=
os
.
fork
()
x
=
os
.
fork
()
...
@@ -358,7 +358,7 @@ if Zpid:
...
@@ -358,7 +358,7 @@ if Zpid:
zLOG
.
LOG
(
"z2"
,
zLOG
.
ERROR
,
"setsid failed"
)
zLOG
.
LOG
(
"z2"
,
zLOG
.
ERROR
,
"setsid failed"
)
sys
.
exit
(
1
)
sys
.
exit
(
1
)
zd
ea
mon
.
run
(
sys
.
argv
,
os
.
path
.
join
(
INSTANCE_HOME
,
Zpid
))
zd
ae
mon
.
run
(
sys
.
argv
,
os
.
path
.
join
(
INSTANCE_HOME
,
Zpid
))
# Import Zope (or Main), and thus get SOFTWARE_HOME and INSTANCE_HOME
# Import Zope (or Main), and thus get SOFTWARE_HOME and INSTANCE_HOME
exec
"import "
+
MODULE
in
{}
exec
"import "
+
MODULE
in
{}
...
...
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