4

I am completely done with my redmine installation in ubuntu server. I am testing the server using the following command:

ruby script/server webrick -e production

But when I press ctrl+z it stops. So I want to start this one as a service or process in Ubuntu.

I tried this with this one:

ruby script/server webrick -e production -du 

It shows the process is running but in the browser no page is shown.

Do you have any suggestion how I can resolved the problem??

joragupra
  • 692
  • 1
  • 12
  • 23
M.M.H.Masud
  • 329
  • 3
  • 8
  • 22
  • 1
    Not an answer, but you're not really supposed to run it with webrick apart from for testing purposes. – Stefan H Singer Jan 22 '11 at 22:53
  • Ctrl+z _does_ stop things - it sends the suspend interrupt. Type `bg` to resume the last program you suspended in the background. – Ian Dec 06 '11 at 19:24

1 Answers1

2

The following command works well on my system :

./script/server webrick -e development -d

The server is not stopped when I close my shell.

Sandro Munda
  • 39,921
  • 24
  • 98
  • 123