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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
#!/bin/sh
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     2
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     3
set -e
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     5
./install
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     6
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     7
adduser --system --shell /bin/sh --group --disabled-password \
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     8
   --gecos "Mercurial repositories" hg
37
d35a30672369 fixes to installer
Paul Crowley <paul@lshift.net>
parents: 32
diff changeset
     9
su -c /usr/local/lib/mercurial-server/init/hginit hg
39
f5055ce263c7 New system. No breaking in, just putting files in /etc/mercurial-server
Paul Crowley <paul@lshift.net>
parents: 37
diff changeset
    10