Project

General

Profile

How start Redmine without having the requests printing to the terminal

Added by EWEA Webmaster over 14 years ago

Hello folks,

I am curious as to how to stop Redmine/WEBrick requests appearing on the terminal screen.
(I am not a ruby/rails expert at all so I dont know how to search for this solution, sorry)

My setup:

OS: CentOS 5.4
Redmine: Redmine 0.9.4.stable.3739
DB: MySQL 5.1.46

I have this in my /etc/rc.local file:

cd /opt/redmine
ruby script/server -e production &

These are the texts that appear on the terminal:

[root@intranet redmine]# pwd
/opt/redmine
[root@intranet redmine]#

Processing ProjectsController#index (for 192.168.17.148 at 2010-05-21 17:41:57) [GET]
Parameters: {"action"=>"index", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/index
Completed in 277ms (View: 215, DB: 15) | 200 OK [http://redmine/projects]
[root@intranet redmine]#

Thanks in advance.


Replies (3)

RE: How start Redmine without having the requests printing to the terminal - Added by toet bam over 14 years ago

Try 'ruby script/server -e production &>/dev/null

RE: How start Redmine without having the requests printing to the terminal - Added by Felix Schäfer over 14 years ago

I'd recommend getting a proper serving solution, e.g. apache and mogrels, apache and passenger, nginx and … Choose whatever you like, there are may tutorials floating around.

RE: How start Redmine without having the requests printing to the terminal - Added by EWEA Webmaster over 14 years ago

Thank you for your help!
It seems to be working as desired now.

    (1-3/3)