Indicate instructions for different venv types in systemd guide better (#3538)

* Update autostart_systemd.rst

* Update autostart_systemd.rst
This commit is contained in:
jack1142 2020-02-14 15:16:33 +01:00 committed by GitHub
parent e7969992c3
commit 48e2dad3a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,12 +20,12 @@ Next, your python :code:`path` can be fetched with the following commands:
.. code-block:: bash .. code-block:: bash
# If redbot is installed in a virtualenv # If redbot is installed in a venv
source redenv/bin/activate source ~/redenv/bin/activate
which python which python
# If you are using pyenv # If redbot is installed in a pyenv virtualenv
pyenv shell <name> pyenv shell <virtualenv_name>
pyenv which python pyenv which python
Then create the new service file: Then create the new service file: