Software /
code /
prosody
File
spec/scansion/disco_self.scs @ 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 | 13408:d7857ef7843a |
line wrap: on
line source
# Basic login and initial presence [Client] Romeo jid: discoverer@localhost password: password --------- Romeo connects Romeo sends: <iq type="get" id="info1"> <query xmlns="http://jabber.org/protocol/disco#info"/> </iq> Romeo receives: <iq type="result" id="info1"> <query xmlns="http://jabber.org/protocol/disco#info" scansion:strict="false"> <identity xmlns="http://jabber.org/protocol/disco#info" category="account" type="registered"/> <feature var="http://jabber.org/protocol/disco#info"/> <feature var="http://jabber.org/protocol/disco#items"/> </query> </iq> Romeo disconnects