summaryrefslogtreecommitdiff
path: root/distcc/doc/example/xinetd
diff options
context:
space:
mode:
Diffstat (limited to 'distcc/doc/example/xinetd')
-rw-r--r--distcc/doc/example/xinetd26
1 files changed, 26 insertions, 0 deletions
diff --git a/distcc/doc/example/xinetd b/distcc/doc/example/xinetd
new file mode 100644
index 0000000..096dcf4
--- /dev/null
+++ b/distcc/doc/example/xinetd
@@ -0,0 +1,26 @@
+# default: off
+
+# xinetd service description for distcc, contributed by akpm, updated
+# by mbp.
+
+# To use this, just check the parameters below and copy this file into
+# /etc/xinet.d/distcc, or the appropriate location for your system,
+# and then restart xinetd. You should also create a 'distcc' user.
+
+# ===> Note that running from inetd is generally NOT recommended for
+# distcc distccd should give better performance when it can run as a
+# standalone daemon and regulate its own load.
+
+service distcc
+{
+ disable = yes
+ socket_type = stream
+ wait = no
+ user = distcc
+ server = /usr/local/bin/distccd
+ server_args = --inetd
+
+ # This makes xinetd cope if there is no service listed in
+ # /etc/services
+ type = UNLISTED
+}