[Docs] Document pyenv workaround for pm2 (#4709)

* add pyenv specific fixes to pm2

* switch note to code-block

* forgot a new line
This commit is contained in:
Ryan 2021-01-20 18:12:58 -05:00 committed by GitHub
parent dcf7368e54
commit 0358055cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,17 @@ You can add additional Red based arguments after the instance, such as :code:`--
<Red Instance>
The name of your Red instance.
If you used :code:`pyenv virtualenv` to create your virtual environment, please make the following changes to the above generated command
.. code-block:: none
<Location to your Python Interpreter>
Run the following instead to get your Python interpreter
pyenv which python
Replace the `redbot` part of `pm2 start redbot` with the output of the following (when ran inside your activated venv)
pyenv which redbot
------------------------------
Ensuring that PM2 stays online
------------------------------