mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -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
|
||||
|
||||
# If redbot is installed in a virtualenv
|
||||
source redenv/bin/activate
|
||||
# If redbot is installed in a venv
|
||||
source ~/redenv/bin/activate
|
||||
which python
|
||||
|
||||
# If you are using pyenv
|
||||
pyenv shell <name>
|
||||
# If redbot is installed in a pyenv virtualenv
|
||||
pyenv shell <virtualenv_name>
|
||||
pyenv which python
|
||||
|
||||
Then create the new service file:
|
||||
|
||||
Reference in New Issue
Block a user