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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
350ec6ea69f232768f242bf1860af713?d=identicon&s=25 Axel Schlueter (Guest)
on 2006-03-06 17: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 ?

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