I just want that every time i restart my server, rails would also be up and
running. No need for me to login and cd to your rails apps and then type
rails server.

I already did those cool stuff, nginx proxy on the frontend, rails on the
backend.

The thing is my current rails don't comes with a startup/init script. I
hope that someone already did that and would like to share.

Jay


On Fri, Feb 28, 2014 at 1:26 AM, Colin Law <[email protected]> wrote:

> On 27 February 2014 15:52, Jay Amorin <[email protected]> wrote:
> > Hi,
> >
> > I just started ruby on rails. Would it be possible to create a start
> script
> > that I can use on boot?
> >
> > /etc/init.d/my_rails_init_script.sh {start|stop}
>
> Can you explain why you want to do this?  It is a bit unusual for
> someone just starting rails to want a server running from boot,
> assuming that is what you mean to achieve.
>
> What would be in the startup script to start the server?
>
> Colin
>
>
> >
> > I've search the web and I can't find any.
> >
> > Thanks,
> >
> >
> > Jay
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To post to this group, send email to [email protected].
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/rubyonrails-talk/2ef2cd6a-cc07-475b-a938-25026f1d4208%40googlegroups.com
> .
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuVrnKS-8jeucL%2BphUm86iMz7JeQG68EOJjhYDNm-hPiQ%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CA%2Bgj%3Dga4e0uMJqBVmEhqGpUoNAA_kX5N9hW0WQXAmDrFHHFmdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to