mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
[Docs] Update autostart guides to use -O flag (#3354)
* Update autostart_systemd.rst * Update autostart_pm2.rst
This commit is contained in:
@@ -18,7 +18,7 @@ In order to create the service file, you will first need the location of your :c
|
||||
# If you are using pyenv
|
||||
pyenv shell <name>
|
||||
|
||||
which redbot
|
||||
which python
|
||||
|
||||
Then create the new service file:
|
||||
|
||||
@@ -33,7 +33,7 @@ Paste the following and replace all instances of :code:`username` with the usern
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
ExecStart=path %I --no-prompt
|
||||
ExecStart=path -O -m redbot %I --no-prompt
|
||||
User=username
|
||||
Group=username
|
||||
Type=idle
|
||||
|
||||
Reference in New Issue
Block a user