From d9dbcb5b7f3e9594191e54c96e0bc7d2cb7cd5b0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 11 Nov 2013 12:14:49 +0000 Subject: [PATCH] git-cache-proxy: better doc comment, install in Makefile --- scripts/Makefile | 3 ++- scripts/git-cache-proxy | 13 ++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile b/scripts/Makefile index 94458b6..5a8d028 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -24,7 +24,8 @@ include ../settings.make SCRIPTS= palm-datebook-reminders random-word expire-iso8601 \ genspic2gnuplot gnucap2genspic ngspice2genspic \ cvs-repomove cvs-adjustroot remountresizereiserfs \ - hexterm summarise-mailbox-preserving-privacy + hexterm summarise-mailbox-preserving-privacy \ + git-cache-proxy MANPAGES1= palm-datebook-reminders CSCRIPTS= named-conf diff --git a/scripts/git-cache-proxy b/scripts/git-cache-proxy index 540188b..4d55233 100755 --- a/scripts/git-cache-proxy +++ b/scripts/git-cache-proxy @@ -14,11 +14,22 @@ # fetch=try use what is in the cache if the fetch/clone fails # timeout= length of time to allow for fetch/clone +# example inetd.conf line: +# 9419 stream tcp nowait git-cache /usr/bin/git-cache-proxy git-cache-proxy +# you'll need to +# adduser git-cache +# mkdir /var/cache/git-cache-proxy +# chown git-cache /var/cache/git-cache-proxy + +# git-cache-proxy +# Copyright 2010 Tony Finch +# Copyright 2013 Ian Jackson +# # git-cache-proxy is free software; you can redistribute it and/or # modify them under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3, or (at # your option) any later version. -# +# # git-cache-proxy is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- 2.30.2