Sha256: 8d7d2ed206841a5730a3659b06da5dec0d0c1b4fd1c7ddf737679f6febc60e63
Contents?: true
Size: 462 Bytes
Versions: 63
Compression:
Stored size: 462 Bytes
Contents
module Appsignal class Hooks class PassengerHook < Appsignal::Hooks::Hook register :passenger def dependencies_present? defined?(::PhusionPassenger) end def install ::PhusionPassenger.on_event(:starting_worker_process) do |forked| Appsignal.forked end ::PhusionPassenger.on_event(:stopping_worker_process) do Appsignal.stop('passenger') end end end end end
Version data entries
63 entries across 63 versions & 1 rubygems