src/init/conf/hg-ssh-wrapper
author Paul Crowley <paul@lshift.net>
Fri, 06 Mar 2009 13:03:46 +0000
changeset 75 5af89523a9d3
parent 72 582808b47653
permissions -rwxr-xr-x
give refreshauth.py a hook and call that in hgadmin hgrc

#!/bin/sh
# Copyright 2008-2009 LShift Ltd

# This file should live in /etc/mercurial-server.  It expects
# to be specified as the target of the "command" section in the prefix
# of a key in the authorized_keys file, and be passed a name associated
# with an ssh key as its only argument.

set -e
exec /usr/local/lib/mercurial-server/hg-ssh $1