File nsca.xinetd.patch of Package nsca

Index: nsca-2.10.0/sample-config/nsca.xinetd.in
===================================================================
--- nsca-2.10.0.orig/sample-config/nsca.xinetd.in
+++ nsca-2.10.0/sample-config/nsca.xinetd.in
@@ -1,15 +1,17 @@
-# default: on
+# default: off
 # description: NSCA (Nagios Service Check Acceptor)
 service nsca
 {
        	flags           = REUSE
         socket_type     = stream
+        type            = UNLISTED
+        port            = @nsca_port@
        	wait            = no
         user            = @nsca_user@
-	group		= @nsca_grp@
+        group           = @nsca_grp@
        	server          = @bindir@/nsca
         server_args     = -c @sysconfdir@/nsca.cfg --inetd
        	log_on_failure  += USERID
-        disable         = no
-	only_from       = 127.0.0.1
+        disable         = yes
+        only_from       = 127.0.0.1
 }
openSUSE Build Service is sponsored by