mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -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:
parent
e7969992c3
commit
48e2dad3a4
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user