I usually start yaws with the '--runmod module' option. It expects the module to implement the 'start()' function and it calls it upon startup.
On Wed, Feb 20, 2008 at 8:51 PM, jm <[EMAIL PROTECTED]> wrote: > > Does yaws or erlyweb call an initialisation hook function or is there a > way to detect the first call to hook/1? I was thinking of adding an > init() or startup function to the my_app_controller.erl to set the > environment up and make sure tables are initialised correctly etc. > > Jeff. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "erlyweb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en -~----------~----~----~----~------~----~------~--~---
