summaryrefslogtreecommitdiffhomepage
path: root/test/ruby/hooks/on_worker_shutdown.rb
blob: 9ffaad93939ab50e4b3ac30fb1428291b86a304f (plain) (blame)
1
2
3
4
5
require 'securerandom'

on_worker_shutdown do
    File.write("./cookie_worker_shutdown.#{SecureRandom.hex}", "shutdown")
end