Erm, I seem to remember something like this a few months ago. The provisional answer is to redirect stdout/stderr to a file or a couple of files e.g. start >/dev/null 2>/dev/null Or perform the equivalent inside the start script. Karl Anderson wrote:
Has anyone gotten a debug zope to start from a linux init script? I was able to manually start an instance by adding a "-D ''" line to the z2.py args in zserver.sh, & running that from the prompt, but the rc.d/init.d init script doesn't work when I do this. I'm using RedHat 6.1.
The problem is possibly with the output that zserver wants to send to the terminal with -D. All I really want right now is for __debug__ to be set.
-- Karl Anderson kra@monkey.org http://www.pobox.com/~kra/
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
-- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org