summaryrefslogtreecommitdiff
path: root/lib/oxidized/core.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/core.rb')
-rw-r--r--lib/oxidized/core.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/core.rb b/lib/oxidized/core.rb
index ba46f3a..71267dd 100644
--- a/lib/oxidized/core.rb
+++ b/lib/oxidized/core.rb
@@ -17,6 +17,7 @@ module Oxidized
Oxidized.mgr = Manager.new
nodes = Nodes.new
@worker = Worker.new nodes
+ trap('HUP') { nodes.load }
if CFG.rest?
begin
require 'oxidized/web'