{"thread":{"id":"4394","subject":"[PATCH] Add example xinetd(8) configuration to Documentation/everyday.txt","startedAt":"2006-06-04T23:53:45Z","lastAt":"2006-06-05T00:01:44Z","messageCount":2,"participants":["Horst H. von Brand","Dmitry V. Levin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"21237","messageId":"11494652252294-git-send-email-vonbrand@inf.utfsm.cl","threadId":"4394","inReplyTo":null,"subject":"[PATCH] Add example xinetd(8) configuration to Documentation/everyday.txt","fromName":"Horst H. von Brand","fromEmail":"vonbrand@inf.utfsm.cl","sentAt":"2006-06-04T23:53:45Z","receivedAt":"2006-06-04T23:53:45Z","isPatch":true,"sender":{"key":"vonbrand@inf.utfsm.cl","avatar":"https://avatars.githubusercontent.com/u/211384?v=4"},"body":"Many Linux distributions use xinetd(8), not inetd(8).\nGive a sample configuration file.\n\nSigned-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>\n---\n Documentation/everyday.txt |   23 +++++++++++++++++++++++\n 1 files changed, 23 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/everyday.txt b/Documentation/everyday.txt\nindex 2ad2d61..ffba543 100644\n--- a/Documentation/everyday.txt\n+++ b/Documentation/everyday.txt\n@@ -377,6 +377,29 @@ git\tstream\ttcp\tnowait\tnobody \\\n +\n The actual configuration line should be on one line.\n \n+Run git-daemon to serve /pub/scm from xinetd.::\n++\n+------------\n+$ cat /etc/xinetd.d/git-daemon\n+# default: off\n+# description: The git server offers access to git repositories\n+service git\n+{\n+        disable = no\n+        type            = UNLISTED\n+        port            = 9418\n+        socket_type     = stream\n+        wait            = no\n+        user            = root\n+        server          = /usr/bin/git-daemon\n+        server_args     = --inetd --syslog --export-all --base-path=/pub/scm\n+        log_on_failure  += USERID\n+}\n+------------\n++\n+Check your xinetd(8) documentation and setup, this is from a Fedora system.\n+Others might be different.\n+\n Give push/pull only access to developers.::\n +\n ------------\n-- \n1.3.3.g16a4\n"},{"id":"21238","messageId":"20060605000144.GA12641@basalt.office.altlinux.org","threadId":"4394","inReplyTo":"11494652252294-git-send-email-vonbrand@inf.utfsm.cl","subject":"Re: [PATCH] Add example xinetd(8) configuration to Documentation/everyday.txt","fromName":"Dmitry V. Levin","fromEmail":"ldv@altlinux.org","sentAt":"2006-06-05T00:01:44Z","receivedAt":"2006-06-05T00:01:44Z","isPatch":true,"sender":{"key":"ldv@altlinux.org","avatar":"https://avatars.githubusercontent.com/u/5281408?v=4"},"body":"On Sun, Jun 04, 2006 at 07:53:45PM -0400, Horst H. von Brand wrote:\n> Many Linux distributions use xinetd(8), not inetd(8).\n> Give a sample configuration file.\n[...]\n> @@ -377,6 +377,29 @@ git\tstream\ttcp\tnowait\tnobody \\\n[...]\n> +        user            = root\n> +        server          = /usr/bin/git-daemon\n\nIt is a bad advice to run git-daemon as root.\n\n\n-- \nldv\n"}]}