Redmine: want to start the webrick service as a background process

I have completely finished installing redmine on the 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. Therefore, I want to start this process as a service or process in Ubuntu.

I tried this with this:

 ruby script/server webrick -e production -du 

Indicates that the process is running, but the page is not displayed in the browser.

Do you have any suggestion on how I can solve the problem?

+4
source share
1 answer

The following command works well on my system:

 ./script/server webrick -e development -d 

The server does not stop when I close my shell.

+2
source

Source: https://habr.com/ru/post/1336624/


All Articles