make install of config files more straightforward.
[packages/xinetd.git] / debian / xinetd.d / daytime
diff --git a/debian/xinetd.d/daytime b/debian/xinetd.d/daytime
new file mode 100644 (file)
index 0000000..dcaeee7
--- /dev/null
@@ -0,0 +1,26 @@
+# default: off
+# description: An internal xinetd service which gets the current system time
+# then prints it out in a format like this: "Wed Nov 13 22:30:27 EST 2002".
+# This is the tcp version.
+service daytime
+{
+       disable         = yes
+       type            = INTERNAL
+       id              = daytime-stream
+       socket_type     = stream
+       protocol        = tcp
+       user            = root
+       wait            = no
+}                                                                               
+
+# This is the udp version.
+service daytime
+{
+       disable         = yes
+       type            = INTERNAL
+       id              = daytime-dgram
+       socket_type     = dgram
+       protocol        = udp
+       user            = root
+       wait            = yes
+}