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
f6ed60d1
Commit
f6ed60d1
authored
Apr 19, 1999
by
Michel Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Waaa... more self-stupidity fixing.
parent
97647db0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
ZServer/start.py
ZServer/start.py
+3
-2
lib/python/ZServer/start.py
lib/python/ZServer/start.py
+3
-2
No files found.
ZServer/start.py
View file @
f6ed60d1
...
...
@@ -52,7 +52,8 @@ MODULE='Main'
# Location of the ZServer log file. This file logs all ZServer activity.
# You may wish to create different logs for different servers. See
# medusa/logger.py for more information.
LOG_FILE
=
os
.
path
.
join
(
INSTANCE_HOME
,
'ZServer.log'
)
LOG_FILE
=
os
.
path
.
join
(
INSTANCE_HOME
,
'var'
,
'ZServer.log'
)
## FTP configuration
##
...
...
@@ -132,7 +133,7 @@ zftp = FTPServer(
# if it hasn't failed at this point, create a .pid file.
pf
=
open
(
INSTANCE_HOME
+
'/ZServer.pid'
,
'w+'
)
# truncate it if it exists
pf
=
open
(
os
.
path
.
join
(
INSTANCE_HOME
,
'var'
,
'ZServer.pid'
),
'w+'
)
pf
.
write
((
"%s"
%
os
.
getpid
()))
pf
.
close
()
...
...
lib/python/ZServer/start.py
View file @
f6ed60d1
...
...
@@ -52,7 +52,8 @@ MODULE='Main'
# Location of the ZServer log file. This file logs all ZServer activity.
# You may wish to create different logs for different servers. See
# medusa/logger.py for more information.
LOG_FILE
=
os
.
path
.
join
(
INSTANCE_HOME
,
'ZServer.log'
)
LOG_FILE
=
os
.
path
.
join
(
INSTANCE_HOME
,
'var'
,
'ZServer.log'
)
## FTP configuration
##
...
...
@@ -132,7 +133,7 @@ zftp = FTPServer(
# if it hasn't failed at this point, create a .pid file.
pf
=
open
(
INSTANCE_HOME
+
'/ZServer.pid'
,
'w+'
)
# truncate it if it exists
pf
=
open
(
os
.
path
.
join
(
INSTANCE_HOME
,
'var'
,
'ZServer.pid'
),
'w+'
)
pf
.
write
((
"%s"
%
os
.
getpid
()))
pf
.
close
()
...
...
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