[Zope-Checkins] CVS: Zope/skel/bin - ntservice.py.in:1.4
Chris McDonough
chrism@zope.com
Sun, 6 Jul 2003 20:28:27 -0400
Update of /cvs-repository/Zope/skel/bin
In directory cvs.zope.org:/tmp/cvs-serv30515/bin
Modified Files:
ntservice.py.in
Log Message:
Use the proper PythonService.exe for Zope.
=== Zope/skel/bin/ntservice.py.in 1.3 => 1.4 ===
--- Zope/skel/bin/ntservice.py.in:1.3 Sun Jul 6 06:03:52 2003
+++ Zope/skel/bin/ntservice.py.in Sun Jul 6 20:28:20 2003
@@ -89,8 +89,11 @@
PYTHON = r'<<PYTHON>>'
SOFTWARE_HOME=r'<<SOFTWARE_HOME>>'
INSTANCE_HOME = r'<<INSTANCE_HOME>>'
+ZOPE_HOME = r'<<ZOPE_HOME>>'
+
ZOPE_RUN = r'%s\Zope\Startup\run.py' % SOFTWARE_HOME
CONFIG_FILE= os.path.join(INSTANCE_HOME, 'etc', 'zope.conf')
+PYTHONSERVICE_EXE=r'%s\bin\PythonService.exe' % ZOPE_HOME
sys.path.insert(0, SOFTWARE_HOME)
@@ -102,8 +105,8 @@
start_cmd = '"%s" "%s" -C "%s"' % (PYTHON, ZOPE_RUN, CONFIG_FILE)
_svc_name_ = servicename
_svc_display_name_ = 'Zope instance at %s' % INSTANCE_HOME
+ _exe_name_ = PYTHONSERVICE_EXE
if __name__ == '__main__':
import win32serviceutil
win32serviceutil.HandleCommandLine(InstanceService)
-