Hi all, Is there a way to have fastcgi start automatically? For example, if my server decides to reboot, I would like instant rails and fast cgi to start automatically when the server comes back up. Thanks Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060413/5561587d/attachment.htm
David Morton
2006-Apr-14 02:29 UTC
[Instantrails-users] Setup fastcgi to run automatically
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Geurts wrote:> Hi all, > > Is there a way to have fastcgi start automatically? For example, if my > server decides to reboot, I would like instant rails and fast cgi to > start automatically when the server comes back up.Well, IR doesn''t use fastcgi... Maybe you mean SCGI. I don''t think we have gotten it to work as a service yet, but the upcoming mongrel server appears to have the support we need. Coming soon(ish)! (or later?) - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEPwkmSIxC85HZHLMRAoe5AJ9U7v5LOK1Y3kp8uoGQ+ej+JMXABwCdERTn joZ7BnLqkttjPxUefhRVBA0=qBih -----END PGP SIGNATURE-----
On 4/13/06, Jim Geurts <jim at biacreations.com> wrote:> > Hi all, > > Is there a way to have fastcgi start automatically? For example, if my > server decides to reboot, I would like instant rails and fast cgi to start > automatically when the server comes back up. >You can created a batch file to start the SCGI server for you app and put a shortcut to it in you startup folder. The batch file would live in you rails app''s root directory and should first put the IR''s ruby\bin directory on the path and then run the command: ruby scgi_service Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060413/7507b9ee/attachment.htm
Cool, that should work as a work-around for now. Is there any desire to turning InstantRails into a production quality tool? It seems like it''s primarily aimed at developers right now. On 4/13/06, Curt Hibbs <curt.hibbs at gmail.com> wrote:> > On 4/13/06, Jim Geurts <jim at biacreations.com> wrote: > > > > Hi all, > > > > Is there a way to have fastcgi start automatically? For example, if my > > server decides to reboot, I would like instant rails and fast cgi to start > > automatically when the server comes back up. > > > > You can created a batch file to start the SCGI server for you app and put > a shortcut to it in you startup folder. > > The batch file would live in you rails app''s root directory and should > first put the IR''s ruby\bin directory on the path and then run the command: > > ruby scgi_service > > Curt > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060413/07a94374/attachment.htm