Software /
code /
prosody
File
plugins/mod_pep_plus.lua @ 13471:afad3b2725bf
util.startup: Support systemd Type=notify service type
This lets Prosody report its lifecycle status to systemd, so it knows
when Prosody has completed its startup, when it's reloading and shutting
down.
Both Type=notify and Type=notify-reload is supported
Example systemd .service configuration snippet:
[Service]
Type=notify
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 04 Apr 2024 19:00:27 +0200 |
parent | 9074:0462405b1cfb |
line wrap: on
line source
module:log("error", "mod_pep_plus has been renamed to mod_pep, please update your config file. Auto-loading mod_pep..."); module:depends("pep");