From: Gruszka, D. <Dan...@ep...> - 2006-10-18 18:47:13
|
How can I get the Webkit installed service to look at the Configs inside of my Work Directory ("All\CorporateIntranet") instead of in my "C:\Webware" directory. I ran AppServerService.py from inside the Work Dir and have all the settings correct though the service still looks at the configuration files inside "C:\Webware\WebKit". Why is this? Here are the options from my AppServerService.py workDir = 'C:\\All\\CorporateIntranet' webwareDir = 'C:\\Webware' libraryDirs = [] runProfile = 0 logFile = None appServer = 'ThreadedAppServer' serviceName = 'WebKit' serviceDisplayName = 'WebKit Application Server (Intranet)' serviceDescription = "This is the threaded application server" \ " of the Webware for Python web framework. (C:\All\CorporateIntranet)" serviceDeps = [] Any ideas? Thanks, Daniel Gruszka -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |
From: Christoph Z. <ci...@on...> - 2006-10-18 20:34:08
|
Gruszka, Daniel schrieb: > I ran AppServerService.py from inside the Work Dir and have all the > settings correct though the service still looks at the configuration > files inside "C:\Webware\WebKit". Why is this? Hi Daniel, just tried this with a similar setup and it works for me. The configuration is taken from the Configs subdir of the workDir. Can you set the logFile parameter e.g. to logFile = 'C:\\All\\webkit.log' Then stop, remove, install and start the service again. You need to install it from the workDir i.e. python C:\\All\\CorporateIntranet\\AppServerService.py install You can also set workDir = None. In this case the workDir is the dir in which the AppServerService.py file is living. This has the advantage that you can later move the workDir to a different place without needing to change this setting. But setting it explicitely also worked for me. -- Christoph |