summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/gwhois/files/gwhois.xinetd')
-rw-r--r--net-misc/gwhois/files/gwhois.xinetd18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/gwhois/files/gwhois.xinetd b/net-misc/gwhois/files/gwhois.xinetd
new file mode 100644
index 000000000000..b518371dd9df
--- /dev/null
+++ b/net-misc/gwhois/files/gwhois.xinetd
@@ -0,0 +1,18 @@
+## whois service
+service whois
+{
+ disable = no
+ socket_type = stream
+ protocol = tcp
+ port = 43
+ wait = no
+ user = gwhois
+# group =
+ server = /usr/bin/gwhois
+# server_args =
+ only_from = 0.0.0.0
+ instances = 20
+ log_on_success += PID HOST DURATION USERID EXIT
+ log_on_failure += HOST USERID
+ nice = 5
+}