setup
author Paul Crowley <paul@lshift.net>
Thu, 19 Feb 2009 17:51:06 +0000
changeset 39 f5055ce263c7
parent 37 d35a30672369
permissions -rwxr-xr-x
New system. No breaking in, just putting files in /etc/mercurial-server

#!/bin/sh

set -e

./install

adduser --system --shell /bin/sh --group --disabled-password \
   --gecos "Mercurial repositories" hg
su -c /usr/local/lib/mercurial-server/init/hginit hg