grim/hgkeeper

user mercurial.templater as a better way to find the templates directory
# Create The `hg` User
You can name this user whatever you like, but for the sake of simplicity, we
just be using `hg` here. We are also going to createan `hg` group to keep to
make sure file permissions remain tight. For most Linux/BSD distributions, you
can create the `hg` user and group with the following commands:
```
sudo groupadd --system hg
sudo useradd --home-dir /var/lib/hg --create-home --system --gid hg
```
This is the username that you will need to specify when connecting to the
OpenSSH Server and is how we will configure the server to tell it how to serve
Mercurial repositories.