want to run my rails app automatically... i hosted rails app in plesk server (centos 5.6)

19 views
Skip to first unread message

Saravanan P

unread,
Aug 8, 2012, 9:46:29 AM8/8/12
to rubyonra...@googlegroups.com
Hi guys

I hosted my rails app in plesk server (centos 5.6). i am login through ssh and starting my rails app.. but i want to run my app automatically

Please advice... :)

Colin Law

unread,
Aug 8, 2012, 10:31:14 AM8/8/12
to rubyonra...@googlegroups.com
On 8 August 2012 14:46, Saravanan P <sarav...@shriramits.com> wrote:
> Hi guys
>
> I hosted my rails app in plesk server (centos 5.6). i am login through ssh
> and starting my rails app.. but i want to run my app automatically

I think that is a centos question rather than a rails one. You know
how to start the server manually, you need to find how to run that
command automatically on boot.

Colin

Saravanan P

unread,
Aug 9, 2012, 2:43:06 AM8/9/12
to rubyonra...@googlegroups.com, cla...@googlemail.com
Thanks Colin

not only boot start server i want run my site all time.. is there any way..
If i starting server automatically mean i close the server machine my site stop working na??

Colin Law

unread,
Aug 9, 2012, 3:25:15 AM8/9/12
to rubyonra...@googlegroups.com
On 9 August 2012 07:43, Saravanan P <sarav...@shriramits.com> wrote:
> Thanks Colin
>
> not only boot start server i want run my site all time.. is there any way..
> If i starting server automatically mean i close the server machine my site
> stop working na??

You appear to be asking whether you need the server computer switched
on in order for it to operate as a web server. I think the answer to
that is probably yes. Perhaps I misunderstand the question.

If what you want to do is to deploy the server out onto a public
server then have a look at Heroku. The tutorial at railstutorial.org,
which is free to use online, covers that I believe.

Colin
Reply all
Reply to author
Forward
0 new messages