at_initial_setup.py 629 B

12345678910111213141516171819
  1. """
  2. At_initial_setup module template
  3. Custom at_initial_setup method. This allows you to hook special
  4. modifications to the initial server startup process. Note that this
  5. will only be run once - when the server starts up for the very first
  6. time! It is called last in the startup process and can thus be used to
  7. overload things that happened before it.
  8. The module must contain a global function at_initial_setup(). This
  9. will be called without arguments. Note that tracebacks in this module
  10. will be QUIETLY ignored, so make sure to check it well to make sure it
  11. does what you expect it to.
  12. """
  13. def at_initial_setup():
  14. pass