queue_map 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/queue_map_consumer +5 -1
- data/lib/queue_map/consumer.rb +5 -1
- data/lib/queue_map/version.rb +1 -1
- data/lib/queue_map.rb +1 -1
- metadata +3 -3
data/bin/queue_map_consumer
CHANGED
@@ -54,7 +54,11 @@ def start
|
|
54
54
|
File.open(@consumer.pid_file, "w") { |f| f << pid.to_s }
|
55
55
|
exit 0
|
56
56
|
else
|
57
|
-
|
57
|
+
Process.setsid
|
58
|
+
exit if fork
|
59
|
+
f = File.open(@consumer.log_file, "a")
|
60
|
+
STDOUT.reopen(f)
|
61
|
+
STDERR.reopen(f)
|
58
62
|
end
|
59
63
|
end
|
60
64
|
@consumer.start
|
data/lib/queue_map/consumer.rb
CHANGED
data/lib/queue_map/version.rb
CHANGED
data/lib/queue_map.rb
CHANGED
metadata
CHANGED