lib/rflow/child_process.rb in rflow-1.3.1 vs lib/rflow/child_process.rb in rflow-1.3.2

- old
+ new

@@ -101,11 +101,11 @@ end def handle_signals Signal.trap 'SIGCHLD', 'DEFAULT' # make sure child process can run subshells - ['SIGTERM', 'SIGINT', 'SIGQUIT'].each do |signal| + ['SIGTERM', 'SIGINT', 'SIGQUIT', 'SIGHUP'].each do |signal| trap_signal(signal) do shutdown! signal exit! 0 end end @@ -122,10 +122,10 @@ RFlow.logger.dump_threads end end def unhandle_signals - ['SIGTERM', 'SIGINT', 'SIGQUIT', 'SIGCHLD', 'SIGUSR1', 'SIGUSR2', SIGINFO].each do |signal| + ['SIGTERM', 'SIGINT', 'SIGQUIT', 'SIGHUP', 'SIGCHLD', 'SIGUSR1', 'SIGUSR2', SIGINFO].each do |signal| Signal.trap signal, 'DEFAULT' end end def trap_signal(signal)