From: Mike Galbraith <efault@gmx.de>
To: garyyang6@yahoo.com
Cc: "J.H." <warthog19@eaglescrag.net>,
Deskin Miller <deskinm@umich.edu>,
git@vger.kernel.org
Subject: Re: Challenge of setting up git server (repository). Please help!
Date: Fri, 21 Nov 2008 08:22:24 +0100 [thread overview]
Message-ID: <1227252144.4879.90.camel@marge.simson.net> (raw)
In-Reply-To: <546971.60895.qm@web37907.mail.mud.yahoo.com>
On Thu, 2008-11-20 at 16:39 -0800, Gary Yang wrote:
> I killed xinetd. Restarted with sudo xinetd -stayalive -pidfile /var/run/xinetd.pid.
>
> I back to my private box. I did
>
> git pull git://git.mycompany.com/pub/git/u-boot.git HEAD
>
> This command hangs for over half hour and is still hanging. Again, below is the content of /etc/xinetd.d/git-daemon. What I did wrong?
>
> cat /etc/xinetd.d/git-daemon
> # default: off
> # description: The git server offers access to git repositories
> service git
> {
> disable = no
> type = UNLISTED
> port = 9418
> socket_type = stream
> wait = no
> user = nobody
> server = /usr/local/libexec/git-core/git-daemon
> server_args = git-daemon --inetd --export-all --base-path=/pub/git
> log_on_failure += USERID
> }
The way I set it up was to create a user 'git' who is my central
repository owner/manager. All repositories live in ~git.
service git
{
socket_type = stream
protocol = tcp
wait = no
user = git
group = daemon
server = /usr/bin/git
server_args = daemon --inetd --export-all --user-path --reuseaddr --detach
type = UNLISTED
port = 9418
log_on_failure += USERID
}
marge:..kernel/linux-2.6.28 # git remote -v
master git://localhost/~git/linux-2.6
>From host homer, with a hole poked in marge's firewall, works fine.
-Mike
next prev parent reply other threads:[~2008-11-21 7:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-21 0:14 Challenge of setting up git server (repository). Please help! Gary Yang
2008-11-21 0:39 ` Gary Yang
2008-11-21 7:22 ` Mike Galbraith [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-11-20 21:39 Gary Yang
2008-11-20 22:04 ` Asheesh Laroia
2008-11-20 22:13 ` Deskin Miller
2008-11-20 22:43 ` Gary Yang
2008-11-20 23:08 ` Deskin Miller
2008-11-20 23:48 ` Gary Yang
2008-11-20 23:54 ` Gary Yang
2008-11-20 23:59 ` J.H.
2008-11-21 0:12 ` Gary Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1227252144.4879.90.camel@marge.simson.net \
--to=efault@gmx.de \
--cc=deskinm@umich.edu \
--cc=garyyang6@yahoo.com \
--cc=git@vger.kernel.org \
--cc=warthog19@eaglescrag.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.