diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 6f62558..8ab1b23 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -31,6 +31,7 @@ The following endpoints were added: ### Bug Fixes & General Improvements +- Use `j2s` for parsing the configuration - Fixed a double-free in `RouteUserProfile()` that would cause errors with certain Matrix clients. (#35) - Improved compatibility with NetBSD on various platforms. @@ -43,6 +44,8 @@ parsing request bodies. ### New Features +- Implemented a `"pid"` option in the configuration, allowing Telodendria +to write its process ID to a specified file. - Moved all administrator API endpoints to `/_telodendria/admin/v1`, because later revisions of the administrator API may break clients, so we want a way to give those breaking revisions new endpoints. diff --git a/docs/user/config.md b/docs/user/config.md index f021633..a51c2e2 100644 --- a/docs/user/config.md +++ b/docs/user/config.md @@ -106,6 +106,9 @@ Here are the top-level directives: or you want to start over. **serverName** should be a DNS name that can be publicly resolved. This directive is required. +- **pid:** `String` + Configure the file Telodendria writes its PID to. + - **baseUrl:** `String` Set the server's base URL. **baseUrl** should be a valid URL,