lib/capistrano/systemd/multiservice/system_service.rb in capistrano-systemd-ng-0.1.3 vs lib/capistrano/systemd/multiservice/system_service.rb in capistrano-systemd-ng-0.1.4

- old
+ new

@@ -75,10 +75,10 @@ "/etc/systemd/system" end def setup fetch(:"#{prefix}_units_src").zip(fetch(:"#{prefix}_units_dest")).each do |src, dest| - buf = StringIO.new(ERB.new(File.read(src), nil, 2).result(binding)) + buf = StringIO.new(ERB.new(File.read(src), trim_mode: '-', eoutvar: '@output_buffer').result(binding)) setup_service buf, src, dest end end def remove