lib/eye/patch/process_set.rb in eye-patch-0.0.7 vs lib/eye/patch/process_set.rb in eye-patch-0.0.8
- old
+ new
@@ -26,12 +26,13 @@
parse_single_process(name, indexed_config(process[:config], index))
end
end
def parse_single_process(name, config)
- self[name] = @group.merge(config).merge(
- name: name,
- group: @group[:name] )
+ self[name] = @group
+ .merge(stdout: config[:stdall], stderr: config[:stdall])
+ .merge(config)
+ .merge(name: name, group: @group[:name])
end
def indexed_config(config, index)
config.each_with_object({}) do |(key, value), result|
result[key] = value.is_a?(String) ? value.gsub("{ID}", index.to_s) : value