public
Description: A fork of backgroundrb for MERB
Clone URL: git://github.com/GeorgePalmer/backgroundrb_merb.git
PID file should be in shared location when deployed to server
George Palmer (author)
Tue May 20 04:48:34 -0700 2008
commit  9a2690f75cc0ae50ca58385239994412e2cf5ced
tree    22b5d0e6af72ddf45108f36f01ba3d72d58932a8
parent  a214175f652cbd77d8a865392f5a48f938785a67
...
29
30
31
32
 
33
34
35
...
29
30
31
 
32
33
34
35
0
@@ -29,7 +29,7 @@ require "master_worker.rb"
0
 # Parse CLI options
0
 BackgrounDRbMerb::Config.parse_cmd_options ARGV
0
 CONFIG_FILE = BackgrounDRbMerb::Config.read_config("#{Merb.root}/config/backgroundrb.yml")
0
-pid_file = "#{Merb.root}/tmp/backgroundrb_#{CONFIG_FILE[:backgroundrb][:port]}.pid"
0
+pid_file = "#{Merb.root}/tmp/pids/backgroundrb_#{CONFIG_FILE[:backgroundrb][:port]}.pid"
0
 SERVER_LOGGER = "#{Merb.root}/log/backgroundrb_server_#{CONFIG_FILE[:backgroundrb][:port]}.log"
0
 
0
 case ARGV[0]

Comments

    No one has commented yet.