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