Forum: Ruby on Rails startup/shutdown hook for a rails application ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Axel Schlueter (Guest)
on 2006-03-06 18:30
(Received via mailing list)
My rails application needs to start an additional tcp server.
Is there any location in a rails app which gets executed
exactly once while 'booting' where I should add the execution
of the external server thread ? Same thing for shutdown ?

Friendship is unnecessary, like philosophy and art. It has no
survival value; rather, it is one of those things that give
value to survival. -- C.S.Lewis
This topic is locked and can not be replied to.