aboutsummaryrefslogtreecommitdiffstats
path: root/hg.sr.ht/installation.md
diff options
context:
space:
mode:
Diffstat (limited to 'hg.sr.ht/installation.md')
-rw-r--r--hg.sr.ht/installation.md31
1 files changed, 17 insertions, 14 deletions
diff --git a/hg.sr.ht/installation.md b/hg.sr.ht/installation.md
index a8ac218..113e926 100644
--- a/hg.sr.ht/installation.md
+++ b/hg.sr.ht/installation.md
@@ -10,6 +10,23 @@ hg.sr.ht is a standard sr.ht web service and can be installed through the
[standard procedure](/installation.md). However, there are several additional
steps required.
+## Daemons
+
+- `hg.sr.ht`: the web service
+
+## Cronjobs
+
+- `hgsrht-periodic`: various maintenance tasks. Recommended configuration is
+ `*/20 * * * * hgsrht-periodic`
+- `hgsrht-clonebundles`: optional cronjob to generate [clone
+ bundles][clonebundles]. Recommended to run daily, e.g.
+ `0 * * * * hgsrht-clonebundles`
+
+[clonebundles]: https://www.mercurial-scm.org/wiki/ClonebundlesExtension
+
+Clone bundles are computationally expensive to create, and use up more disk
+space, but may dramatically speed up clone operations on large repositories.
+
## Repository storage
You will need to set up a directory for repositories to be stored in - we
@@ -31,20 +48,6 @@ works.
Authorization logs are written to `hg-srht-shell`.
-## Cronjobs
-
-You must also configure `hgsrht-periodic` to run periodically with your
-favorite cron daemon. We recommend the following crontab:
-
- */20 * * * * hgsrht-periodic
-
-If you'd like to generate
-[clonebundles](https://www.mercurial-scm.org/wiki/ClonebundlesExtension) (which
-require more disk space but dramatically speed up cloning large repositories),
-also add a nightly task for running the script:
-
- 0 * * * * hgsrht-clonebundles
-
## HTTP(s) Cloning
hg.sr.ht does not do this for you - you need to wire it up in nginx. Here's an