Commit df5e0dbf authored by Jim Fulton's avatar Jim Fulton

Added check to avoid zdeamon on win32.

parent dd9f0a45
...@@ -15,6 +15,8 @@ Options: ...@@ -15,6 +15,8 @@ Options:
Z path Z path
Unix only! This option is ignored on windows.
If this option is specified, a separate managemnt process will If this option is specified, a separate managemnt process will
be created that restarts Zope after a shutdown (or crash). be created that restarts Zope after a shutdown (or crash).
The path must point to a pid file that the process will record it's The path must point to a pid file that the process will record it's
...@@ -80,7 +82,8 @@ Zpid='' ...@@ -80,7 +82,8 @@ Zpid=''
## ##
# If you want run as a deamon, then uncomment the line below: # If you want run as a deamon, then uncomment the line below:
Zpid='var/zProcessManager.pid' if sys.platform=='win32': Zpid=''
else: Zpid='var/zProcessManager.pid'
# This is the IP address of the network interface you want your servers to # This is the IP address of the network interface you want your servers to
# be visible from. This can be changed to '' to listen on all interfaces. # be visible from. This can be changed to '' to listen on all interfaces.
...@@ -174,6 +177,8 @@ except: ...@@ -174,6 +177,8 @@ except:
print "%s: %s" % (sys.exc_type, sys.exc_value) print "%s: %s" % (sys.exc_type, sys.exc_value)
sys.exit(1) sys.exit(1)
if sys.platform=='win32': Zpid=''
# #
######################################################################## ########################################################################
......
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