Running Zope as NT Service
Hi all, I'm ready for round 2 in trying to get Zope to run as a service. The problem is getting the z2.py to invoke the -w 80 option. I can start Zope manually with no problem and everything works as it should. Any ideas? z2.py is still in default form. Thanks, Joseph
If you installed Zope to run as a service with the default service name of 'website' then do this: 1. Open regedit 2. edit HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\website\Parameters\star t 3. change the 'start' value to what you wish My reg entry looks like this, "D:\python211\python.exe" "D:\ZOPE25~1\z2.py" -S -X -w 8080 -W 8090 -f 8021 The -w 8080 would be changed to -w 80 in your case, the -W 8090 is the webdav port and -f 8021 is the FTP port. Also notice I use a different Python to the one delivered with Zope, this makes it easier to install packages etc. hth Phil ----- Original Message ----- From: "Joseph Griffin" <jgriffin@pclnet.net> To: <Zope@zope.org> Sent: Monday, January 21, 2002 1:34 AM Subject: [Zope] Running Zope as NT Service
Hi all, I'm ready for round 2 in trying to get Zope to run as a service. The problem is getting the z2.py to invoke the -w 80 option. I can start Zope manually with no problem and everything works as it should. Any ideas? z2.py is still in default form. Thanks, Joseph
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
You da man. Thanks Joseph -----Original Message----- From: Phil Harris [mailto:phil@harris-family.info] Sent: Sunday, January 20, 2002 7:43 PM To: Joseph Griffin; Zope@zope.org Subject: Re: [Zope] Running Zope as NT Service If you installed Zope to run as a service with the default service name of 'website' then do this: 1. Open regedit 2. edit HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\website\Parameters\star t 3. change the 'start' value to what you wish My reg entry looks like this, "D:\python211\python.exe" "D:\ZOPE25~1\z2.py" -S -X -w 8080 -W 8090 -f 8021 The -w 8080 would be changed to -w 80 in your case, the -W 8090 is the webdav port and -f 8021 is the FTP port. Also notice I use a different Python to the one delivered with Zope, this makes it easier to install packages etc. hth Phil ----- Original Message ----- From: "Joseph Griffin" <jgriffin@pclnet.net> To: <Zope@zope.org> Sent: Monday, January 21, 2002 1:34 AM Subject: [Zope] Running Zope as NT Service
Hi all, I'm ready for round 2 in trying to get Zope to run as a service. The problem is getting the z2.py to invoke the -w 80 option. I can start Zope manually with no problem and everything works as it should. Any ideas? z2.py is still in default form. Thanks, Joseph
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Joseph Griffin -
Phil Harris