| 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
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