Software /
code /
prosody
File
spec/scansion/disco_self.scs @ 13651:b9d369f77121
prosodyctl: Further deprecate start/stop/restart commands when installed
Despite the warning we introduced, many people continue to try using
prosodyctl to manage Prosody in the presence of systemctl (e.g. #1688).
Also, despite the warning, prosodyctl proceeded with the operation. This means
the commands could be invoked by accident, and cause a situation that is hard
to recover from (needing to manually track down stray processes).
This commit disables all the problematic commands by default, but this can
still be overridden using --force or via a config option.
We only perform this check when we believe Prosody has been "installed" for
system-wide use (i.e. running it from a source directory is still supported).
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Feb 2025 14:51:31 +0000 |
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