diff --git a/lib/Monitorix.pm b/lib/Monitorix.pm index ee7d854..d7a0404 100644 --- a/lib/Monitorix.pm +++ b/lib/Monitorix.pm @@ -85,7 +85,8 @@ sub httpd_setup { chdir($config->{base_dir}); my $server = HTTPServer->new($port); - $server->run(); # ->background + $server->run(); + exit(0); } sub get_nvidia_data {