view mod_persisthosts/README.markdown @ 4525:b68b801ddc50

mod_rest: Restore 'kind' property in JSON-mapped objects The datamapper schema has no 'kind' field, instead handling it as a top-level property of the currently unused <xmpp> element and doing this early dispatch on the top level element name. This puts the field back into the output JSON.
author Kim Alvefur <zash@zash.se>
date Tue, 23 Mar 2021 17:44:49 +0100
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