[Zope] Re: External Methods
Tres Seaver
tseaver at palladion.com
Mon Apr 3 21:42:57 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dennis Allison wrote:
> When Zope is run in production (as opposed to debug) mode, modifications
> to External Methods are not sensed. What's the programatic way to get
> them all refreshed?
Not a use case for production servers. Your best bet is:
#!/bin/sh
/path/to/zope/instance/bin/zopectl restart
on each instance.
If you know the path of a specific EM, then you can write a script which
forces it to reload, e.g.:
# Reload a given script
app.path.to.external_method.reloadIfChanged()
which you will again need to to on each instance (the compiled code is
not persisted to the ZODB).
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEMc8h+gerLs4ltQ4RAkExAJ9BApgEvQE87o8K7w5YDwnJA3yXVgCfRnsZ
+KPz3mA/4XOsYA8UqfDhj8o=
=nOMh
-----END PGP SIGNATURE-----
More information about the Zope
mailing list