doc/protocol.rst: deprecated `close` and `kill`

This commit is contained in:
Max Kellermann 2018-11-12 13:03:09 +01:00
parent e20d215abf
commit 0852226a48
1 changed files with 7 additions and 0 deletions

View File

@ -1069,9 +1069,16 @@ Connection settings
connection, but that cannot be guaranteed. This command connection, but that cannot be guaranteed. This command
will not generate a response. will not generate a response.
Clients should not use this command; instead, they should just
close the socket.
:command:`kill` :command:`kill`
Kills :program:`MPD`. Kills :program:`MPD`.
Do not use this command. Send ``SIGTERM`` to :program:`MPD`
instead, or better: let your service manager handle :program:`MPD`
shutdown (e.g. :command:`systemctl stop mpd`).
:command:`password {PASSWORD}` :command:`password {PASSWORD}`
This is used for authentication with the server. This is used for authentication with the server.
``PASSWORD`` is simply the plaintext ``PASSWORD`` is simply the plaintext