queue_map 0.3 → 0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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