view mod_persisthosts/README.markdown @ 4917:3dc8e329d233

mod_rest: Move most of XEP-0432 handling into JSON mapping schema The pre- and post-processing is still needed to encode/decode the JSON since util.datamapper can't (currently) do this.
author Kim Alvefur <zash@zash.se>
date Thu, 07 Apr 2022 15:39:57 +0200
parents 81956bb99289
children
line wrap: on
line source

Introduction
============

This module creates stub configuration files for newly activated hosts.

Configuration
=============

A single option exists, `persisthosts_path`, which is the path where new
stub configuration files are created. It defaults to `"conf.d"`, and is
treated as relative to the configuration directiory [^1] unless set to
an absolute path.

[^1]: usually `/etc/prosody` on \*nix systems