aboutsummaryrefslogtreecommitdiffstats
path: root/meta.sr.ht/installation.md
blob: 60b007e7ed2b040fb4d8d7a38231b0c69f737482 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
title: meta.sr.ht installation
---

meta.sr.ht is the central authentication and account service for the sr.ht
network, and a working meta.sr.ht installation is a basic requirement of running
any other sr.ht software.

# Installation

meta.sr.ht is a standard sr.ht web service and can be installed through the
[standard procedure](/installation.md).

## Daemons

- `meta.sr.ht`: the web service
- `meta.sr.ht-webhooks`: webhook delivery service

## Cronjobs

- `metasrht-daily`: purges old audit log entries and runs billing; run daily.

## Billing configuration

To enable billing, consult the `meta.sr.ht::billing` config section. You will
need a working Stripe account for payment processing, and may need to install
the additional `meta.sr.ht-billing` package to obtain additional dependencies.

# Post-installation tasks

## Creating users & admins

Use the `metasrht-createuser` script. `metasrht-createuser -t admin <username>
<email>` will create an administrator.