2009年2月22日星期日

Cygwin中的DAEMON程序

以前写过一篇文章:继续尝试Cygwin上运行zope
那时候得出的结论是错误的。那并不是 ZODB 的问题,而是在 Cygwin 中运行 DAEMON 程序的话,是需要注册成 Windows 服务的。
昨晚在 Cygwin 中尝试最新的 Zope3.4.0 时候发现了这个问题。在使用 zope3 创建的实例中的 bin/zopeservice.py 命令中有这样的说明:

You can view the usage options by running ntservice.py without any
arguments.

Note: you may have to register the Python service program first,

win32\PythonService.exe /register

就像在 Cygwin 中运行 Apache 服务器一样,都是需要注册成 Windows 服务的。

没有评论:

发表评论