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.36.0 data/example/ticker
foreman-0.35.0 data/example/ticker
foreman-0.34.1 data/example/ticker
foreman-0.34.0 data/example/ticker
foreman-0.33.1 data/example/ticker
foreman-0.33.0 data/example/ticker
foreman-0.32.0 data/example/ticker
foreman-0.31.0 data/example/ticker
foreman-0.30.1 data/example/ticker
foreman-0.30.0 data/example/ticker
foreman-0.29.0 data/example/ticker
foreman-0.28.0.pre2 data/example/ticker
foreman-0.28.0.pre1 data/example/ticker
foreman-0.27.0 data/example/ticker
foreman-0.26.1 data/example/ticker
foreman-0.26.0 data/example/ticker
foreman-0.25.0 data/example/ticker
foreman-0.24.0 data/example/ticker
foreman-0.23.1 data/example/ticker
foreman-0.22.0 data/example/ticker