Sha256: bf52f5ec86a5d6414e4ebf44ae4acd2d0503678347e38a6157e62e1445a3f6bb

Contents?: true

Size: 237 Bytes

Versions: 160

Compression:

Stored size: 237 Bytes

Contents

#!/usr/bin/env ruby

$stdout.sync = true

%w( SIGINT SIGTERM ).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

160 entries across 160 versions & 7 rubygems

Version Path
foreman-0.51.0-java data/example/ticker
foreman-0.51.0 data/example/ticker
foreman-0.50.0-x86-mingw32 data/example/ticker
foreman-0.50.0-x86-mswin32 data/example/ticker
foreman-0.50.0-mingw32 data/example/ticker
foreman-0.50.0-java data/example/ticker
foreman-0.50.0 data/example/ticker
foreman-0.49.0 data/example/ticker
foreman-0.48.0 data/example/ticker
foreman-0.48.0.pre3 data/example/ticker
foreman-0.48.0.pre2 data/example/ticker
foreman-0.48.0.pre1-java data/example/ticker
foreman-0.48.0.pre1 data/example/ticker
foreman-0.47.0 data/example/ticker
foreman-0.46.0-mingw32 data/example/ticker
foreman-0.46.0-java data/example/ticker
foreman-0.46.0 data/example/ticker
foreman-0.45.0-mingw32 data/example/ticker
foreman-0.45.0-java data/example/ticker
foreman-0.45.0 data/example/ticker