This document covers the installation steps for meta.sr.ht, the central authentication and account management service for SourceHut.
Familiarize yourself with the general installation documentation before getting started.
The following daemons are available in the meta.sr.ht package:
meta.sr.ht — The web service.meta.sr.ht-api — The API service.Enable and start them like so:
# service meta.sr.ht start
# service meta.sr.ht-api start
# rc-update add meta.sr.ht
# rc-update add meta.sr.ht-api
Install a cronjob to run meta.sr.ht-daily as the meta user daily. For example:
0 * * * * chronic meta.sr.ht-daily
Note that if billing is enabled, this cronjob, among other tasks, will charge accounts due for payment.
To enable the billing system, install the separate meta.sr.ht-billing package
and fill in the meta.sr.ht::billing section of config.ini. You need a working
Stripe account to collect payments.
To create users, use meta.sr.ht-manageuser. For example, to create an
administrator:
meta.sr.ht-manageuser -t admin -e <email> <username>
commit 0688b192173baea25e97f0cb155d133f51d85a20 Author: CismonX <admin@cismon.net> Date: 2026-02-21T18:03:46+08:00 builds.sr.ht: clarify FreeBSD image names Rename FreeBSD images to the exact release names used upstream, for better clarity.