mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
Indicate instructions for different venv types in systemd guide better (#3538)
* Update autostart_systemd.rst * Update autostart_systemd.rst
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user