… | |
… | |
52 | ($last_ts, $::written) = ($::NOW, 0); |
52 | ($last_ts, $::written) = ($::NOW, 0); |
53 | } elsif ($cmd eq "refresh") { |
53 | } elsif ($cmd eq "refresh") { |
54 | do "config.pl"; |
54 | do "config.pl"; |
55 | print $fh "config.pl: $@\n" if $@; |
55 | print $fh "config.pl: $@\n" if $@; |
56 | %statdata_cache = (); |
56 | %statdata_cache = (); |
57 | read_blockuri; |
57 | conn::read_blockuri; |
58 | read_blockref; |
58 | conn::read_blockref; |
59 | } elsif ($cmd eq "restart") { |
59 | } elsif ($cmd eq "restart") { |
60 | $::RESTART = 1; |
60 | $::RESTART = 1; |
61 | unloop; |
61 | unloop; |
62 | print $fh "restarting, cu!\n"; |
62 | print $fh "restarting, cu!\n"; |
63 | last; |
63 | last; |