lib/rflow/daemon_process.rb in rflow-1.0.0 vs lib/rflow/daemon_process.rb in rflow-1.0.1
- old
+ new
@@ -110,15 +110,15 @@
end
end
trap_signal 'SIGUSR1' do
RFlow.logger.reopen
- signal_subprocesses signal
+ signal_subprocesses 'SIGUSR1'
end
trap_signal 'SIGUSR2' do
RFlow.logger.toggle_log_level
- signal_subprocesses signal
+ signal_subprocesses 'SIGUSR2'
end
end
def unhandle_signals
['SIGTERM', 'SIGINT', 'SIGQUIT', 'SIGCHLD', 'SIGUSR1', 'SIGUSR2'].each do |signal|