Re: [Zope3-dev] zopectl in linux-ha environment

2006-01-10 Thread Sidnei da Silva
| In zopectl: | [...] | if __name__ == '__main__': | run() | [...] | | What kind of return-statement/exception i have to use? You should add a 'sys.exit(exit-code)' somewhere. Where to add it is the question. -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com

[Zope3-dev] zopectl in linux-ha environment

2006-01-05 Thread Markus Leist
Hello, I am testing Zope3 in a linux-ha environment. I wrote a resource.d-file for starting and stopping zope when system toggles ha-mode. snipp: [...] zope_status () { cd $ZOPEDIR ./bin/zopectl status2 rc=$? ha_log info: $0: zope_status1/return=$rc } [...] (attention: 'status2' not