src/init/conf/hg-ssh-wrapper
author Paul Crowley <paul@lshift.net>
Fri, 06 Mar 2009 13:06:36 +0000
changeset 76 e6a35b0f853c
parent 72 582808b47653
permissions -rwxr-xr-x
Abolish wrapper around refresh-auth
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
41ecb5a3172c separate out executables and data
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
#!/bin/sh
50
77d97aa18f29 update dates and copyright notices
Paul Crowley <paul@lshift.net>
parents: 39
diff changeset
     2
# Copyright 2008-2009 LShift Ltd
0
41ecb5a3172c separate out executables and data
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     3
36
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 34
diff changeset
     4
# This file should live in /etc/mercurial-server.  It expects
10
524b4a45ef0a wrap overlong lines
Paul Crowley <paul@lshift.net>
parents: 8
diff changeset
     5
# to be specified as the target of the "command" section in the prefix
524b4a45ef0a wrap overlong lines
Paul Crowley <paul@lshift.net>
parents: 8
diff changeset
     6
# of a key in the authorized_keys file, and be passed a name associated
72
582808b47653 All work now in hg-ssh
Paul Crowley <paul@lshift.net>
parents: 71
diff changeset
     7
# with an ssh key as its only argument.
4
dcd195f3e52c move config out of Python files; don't make hg-ssh-wrapper a dotfile;
Paul Crowley <paul@lshift.net>
parents: 0
diff changeset
     8
0
41ecb5a3172c separate out executables and data
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     9
set -e
69
e31646deafc8 Starting to move stuff out of hg-ssh-wrapper
Paul Crowley <paul@lshift.net>
parents: 62
diff changeset
    10
exec /usr/local/lib/mercurial-server/hg-ssh $1