]> jspc29.x-matter.uni-frankfurt.de Git - hadesicinga.git/commitdiff
ReusePort option for socket added. Sergey.
authorhadaq <hadaq>
Wed, 28 Jan 2009 16:28:00 +0000 (16:28 +0000)
committerhadaq <hadaq>
Wed, 28 Jan 2009 16:28:00 +0000 (16:28 +0000)
plugins/check_lustre.pl

index 6a64f62435759f7a83011047fb92df64f21eebd1..4c580f996b1a988dc03f648b940b01f1d9387a81 100755 (executable)
@@ -110,7 +110,8 @@ sub statusServer{
     unless (defined( $server_socket =
                      IO::Socket::INET->new( LocalPort => $server_port,
                                             Proto     => 'tcp',
-                                            Listen    => SOMAXCONN ) ))
+                                            Listen    => SOMAXCONN,
+                                           ReusePort => 1) ))
     {
         print "ERROR: Cannot start status server!\n";
        &exitProgram(2);