doc: Reword shouldManageDaemon comment.
Some checks failed
lint / build (3.12) (push) Has been cancelled

This commit is contained in:
tecnovert 2024-10-02 09:56:57 +02:00
parent 209dea52b3
commit 1209d1b269
No known key found for this signature in database
GPG key ID: 8ED6D8750C4E3F93

View file

@ -272,9 +272,9 @@ default_socket_getaddrinfo = socket.getaddrinfo
def shouldManageDaemon(prefix: str) -> bool:
'''
If the user sets the XMR_RPC_HOST or PORT variables, set manage_daemon to false.
The XMR_MANAGE_DAEMON variable can override this and set manage_daemon directly.
if BSX_DOCKER_MODE is active -COIN-_MANAGE_DAEMON will default to false
If the user sets a COIN _RPC_HOST or PORT variable, set manage_daemon for COIN to false.
The COIN _MANAGE_DAEMON variables can override this and set manage_daemon directly.
If BSX_DOCKER_MODE is active COIN _MANAGE_DAEMON will default to false.
'''
manage_daemon: str = os.getenv(prefix + '_MANAGE_DAEMON', 'false' if BSX_DOCKER_MODE else 'auto')