On 11/16/2010 11:23 AM, PalaniKannan K wrote:
Hi hassan,

Your suggestion is valuable. I tried as you told...

<script>

#!/bin/bash
cd ~/sample
rails server &

</script>

This script is working if i initiate as "/etc/init.d/webrick". But, it
doesnt start with system boot. (I provided 777 permission too...), I
dont know this will be permission issue for execution or some other issue.

You need to place a symbolic link in the directory of your current runlevel. It's something like /etc/rcX.d/. You get your current runlevel by executing `runlevel`. On Debian based system it's supposed to be 2. So you have to place the link in /etc/rc2.d.

HTH

Cheers,

Jan


--
With Regards,
Palani Kannan

--
You received this message because you are subscribed to the Google
Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to