From 497bcd139b2432c5ce7713a61d8d6236a6ebf661 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 16 Jan 2012 07:52:48 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- .etckeeper | 1 + xinetd.d/git-daemon | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 xinetd.d/git-daemon diff --git a/.etckeeper b/.etckeeper index 552f5a2a..9fa58407 100755 --- a/.etckeeper +++ b/.etckeeper @@ -809,6 +809,7 @@ maybe chmod 0644 './xinetd.d/discard-stream' maybe chmod 0644 './xinetd.d/echo-dgram' maybe chmod 0644 './xinetd.d/echo-stream' maybe chmod 0644 './xinetd.d/ftp-sensor' +maybe chmod 0644 './xinetd.d/git-daemon' maybe chmod 0644 './xinetd.d/kpropd' maybe chmod 0644 './xinetd.d/rsyncd' maybe chmod 0644 './xinetd.d/svnserve' diff --git a/xinetd.d/git-daemon b/xinetd.d/git-daemon new file mode 100644 index 00000000..02c938d4 --- /dev/null +++ b/xinetd.d/git-daemon @@ -0,0 +1,13 @@ +service git-daemon +{ + disable = yes + socket_type = stream + wait = no + user = nobody + type = UNLISTED + protocol = tcp + log_on_failure += USERID + port = 9418 + server = /usr/bin/git + server_args = daemon --inetd --syslog --export-all --base-path=/var/git +} -- 2.39.5