diff options
author | Kim Alvefur <zash@zash.se> | 2024-04-04 19:00:27 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-04-04 19:00:27 +0200 |
commit | 502b8d399839e23cafdba350ceab962950eaee24 (patch) | |
tree | 11b9257bb3d80bb64c992a515656629fe10b3db2 /plugins/mod_server_info.lua | |
parent | 221f86f77fc01e9c02c5c80ac8eb35222c036506 (diff) | |
download | prosody-502b8d399839e23cafdba350ceab962950eaee24.tar.gz prosody-502b8d399839e23cafdba350ceab962950eaee24.zip |
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
Diffstat (limited to 'plugins/mod_server_info.lua')
0 files changed, 0 insertions, 0 deletions