view mod_persisthosts/README.markdown @ 5061:e44b868cc575

mod_storage_appendmap: Fix keyvalue writes store_raw() takes a filename, unlike most other datamanager functions that take a series of path components, leading to this bug where it would write the hostname into a file named after the first argument (commonly a username) in the working directory.
author Kim Alvefur <zash@zash.se>
date Sun, 09 Oct 2022 21:35:18 +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