Sha256: 27ce6f11eac6817799d52bee5eed051bdc3d2f7cd5a64a2f076a4ac1c8f2cd97

Contents?: true

Size: 223 Bytes

Versions: 9

Compression:

Stored size: 223 Bytes

Contents

#!/usr/bin/env ruby

%w( SIGINT SIGTERM SIGHUP ).each do |signal|
  trap(signal) do
    puts "received #{signal} but i'm ignoring it!"
  end
end

while true
  puts "tick: #{ARGV.inspect} -- FOO:#{ENV["FOO"]}"
  sleep 1
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
foreman-0.21.0 data/example/ticker
HeSYINUvSBZfxqA-foreman-0.20.0.4 data/example/ticker
HeSYINUvSBZfxqA-foreman-0.20.0.3 data/example/ticker
HeSYINUvSBZfxqA-foreman-0.20.0.2 data/example/ticker
HeSYINUvSBZfxqA-foreman-0.20.0.1 data/example/ticker
HeSYINUvSBZfxqA-foreman-0.20.0 data/example/ticker
foreman-0.20.0 data/example/ticker
foreman-0.19.0 data/example/ticker
foreman-0.18.0 data/example/ticker