Commit 9d73bb8b authored by Michel Pelletier's avatar Michel Pelletier

renamed daemon references

parent 7863035f
...@@ -194,7 +194,7 @@ Zpid='' ...@@ -194,7 +194,7 @@ Zpid=''
## General configuration options ## General configuration options
## ##
# If you want run as a deamon, then uncomment the line below: # If you want run as a daemon, 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 zdeamon, App.FindHomes import zdaemon, 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)
zdeamon.run(sys.argv, os.path.join(INSTANCE_HOME, Zpid)) zdaemon.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 {}
......
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