Sha256: bf52f5ec86a5d6414e4ebf44ae4acd2d0503678347e38a6157e62e1445a3f6bb

Contents?: true

Size: 237 Bytes

Versions: 161

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

161 entries across 161 versions & 7 rubygems

Version Path
foreman-0.37.2 data/example/ticker
foreman-0.37.1-mingw32 data/example/ticker
foreman-0.37.1-java data/example/ticker
foreman-0.37.1 data/example/ticker
foreman-0.37.0-mingw32 data/example/ticker
foreman-0.37.0-java data/example/ticker
foreman-0.37.0 data/example/ticker
foreman-0.37.0.pre5-mingw32 data/example/ticker
foreman-0.37.0.pre5-java data/example/ticker
foreman-0.37.0.pre5 data/example/ticker
foreman-0.37.0.pre4-mingw32 data/example/ticker
foreman-0.37.0.pre4-java data/example/ticker
foreman-0.37.0.pre4 data/example/ticker
foreman-0.37.0.pre3-mingw32 data/example/ticker
foreman-0.37.0.pre3-java data/example/ticker
foreman-0.37.0.pre3 data/example/ticker
foreman-0.37.0.pre2-java data/example/ticker
foreman-0.37.0.pre2 data/example/ticker
foreman-0.37.0.pre1-java data/example/ticker
foreman-0.37.0.pre1 data/example/ticker