diff options
author | Matthew Wild <mwild1@gmail.com> | 2025-02-06 14:51:31 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2025-02-06 14:51:31 +0000 |
commit | 0a93dccaa9fe20ace9e648eeac9cc155c3f668e9 (patch) | |
tree | e68435d409d763ded80bbebee69759cadbe072b8 /teal-src/prosody/util/smqueue.tl | |
parent | 08d69fb759a10ad43158df4908773c3879579189 (diff) | |
download | prosody-0a93dccaa9fe20ace9e648eeac9cc155c3f668e9.tar.gz prosody-0a93dccaa9fe20ace9e648eeac9cc155c3f668e9.zip |
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).
Diffstat (limited to 'teal-src/prosody/util/smqueue.tl')
0 files changed, 0 insertions, 0 deletions