Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Linux  >  Thread
   
 
Daemonising?
 
Claus P
Posted: 28 August 2008 07:08 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  9
Joined  2008-08-13

I run Tracks on my own server (Ubuntu 7.10 with Apace2).  One of the options when starting up Tracks is -d or—daemon. This might be a stupid question, but if I use that option why is tracks not showing up (or rails)? I have ruby on the list, but nothing else.

Also, since I do not want to keep a terminal open just for Tracks does anybody have a suggestion for a “nice” way to stop the Tracks server? Obviously Ctrl-C only works if you are still in the terminal and the only way I can get it to stop seems to be

kill -9 [pid for Ruby] 

.

Claus

Profile
 
Reinier Balt
Posted: 29 August 2008 07:02 AM   [ Ignore ]   [ # 1 ]  
Sr. Member
RankRankRankRank
Total Posts:  184
Joined  2006-10-05

If you’re using mongrel, you can stop tracks by using

mongrel_rails stop

from your tracks directory. Using ps, it will only show mongrel_rails as process name. In your case the ruby proces is probably tracks.

Profile
 
thomasn
Posted: 30 August 2008 09:36 AM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  10
Joined  2008-05-27

Or you could look at using one of the other Rails deployment options, like [mod_rails](http://www.modrails.com/) or [mongrel_cluster](http://mongrel.rubyforge.org/wiki/MongrelCluster). Running a single mongrel with mongrel_rails start and mongrel_rails stop is probably sufficient for standard use, but if you want bullet-proof availability I suggest setting up mod_rails (which is very straightforward).

—Thomas.

Profile
 
Dentharg
Posted: 30 August 2008 11:16 AM   [ Ignore ]   [ # 3 ]  
Newbie
Rank
Total Posts:  5
Joined  2008-07-11

latest changes to mod_rails include name change to mod_passenger, support for racks (Merb!) and python/django.

Profile
 
Dentharg
Posted: 30 August 2008 11:16 AM   [ Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  5
Joined  2008-07-11

http://github.com/FooBarWidget/passenger/tree/master

Profile
 
   
 
 
‹‹ undefined method `zone=’ for Time:Class      NoMethodError in Todos#index ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.1 (20081028)
Script Executed in 0.3992 seconds

Atom Feed
RSS 2.0