Sha256: 8fbd501bc6f88c940cef031b364305879c8d472d04bc0eb2e699314d339ce32b

Contents?: true

Size: 187 Bytes

Versions: 1

Compression:

Stored size: 187 Bytes

Contents

#!/usr/bin/env ruby

pid = ARGV.shift
begin
  loop do
    # wait old distribot-ui process shutdown
    Process.kill(0, pid.to_i)
    sleep 0.1
  end
rescue Errno::ESRCH
  exec(*ARGV)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
distribot-ui-0.1.0 bin/distribot-ui-restart