Now I get it. Thanks guys for pointing me to the right direction.

Jay


On Fri, Feb 28, 2014 at 7:31 PM, Frederick Cheung <
[email protected]> wrote:

> On Friday, February 28, 2014 4:33:05 AM UTC, Jay Amorin wrote:
>
>> 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.
>>
>>
> Typically people don't use `rails server` in production, which is probably
> why you haven't found any examples of that. You're more likely to use
> something like unicorn, puma, passenger (either the standalone version or
> the nginx/apache module version) and you shouldn't have trouble finding
> startup scripts for those.
>
> Fred
>
> --
> 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/ec88b452-4420-4881-be9b-31b02d1463d7%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/CA%2Bgj%3DgZuDeqZLqhTyBN9zYSVv2fExb6powVRYHa3oAN1Jo6Xyw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to