mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[V3 Docs] Autostart (#1599)
Moved note to the top, added how to access red log.
This commit is contained in:
parent
1cb5394e96
commit
f71aa9dd21
@ -37,6 +37,8 @@ Save and exit :code:`ctrl + O; enter; ctrl + x`
|
|||||||
Starting and enabling the service
|
Starting and enabling the service
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
.. note:: This same file can be used to start as many instances of the bot as you wish, without creating more service files, just start and enable more services and add any bot instance name after the **@**
|
||||||
|
|
||||||
To start the bot, run the service and add the instance name after the **@**:
|
To start the bot, run the service and add the instance name after the **@**:
|
||||||
|
|
||||||
:code:`sudo systemctl start red@instancename`
|
:code:`sudo systemctl start red@instancename`
|
||||||
@ -45,4 +47,6 @@ To set the bot to start on boot, you must enable the service, again adding the i
|
|||||||
|
|
||||||
:code:`sudo systemctl enable red@instancename`
|
:code:`sudo systemctl enable red@instancename`
|
||||||
|
|
||||||
.. note:: This same file can be used to start as many instances of the bot as you wish, without creating more service files, just start and enable more services and add any bot instance name after the **@**
|
To view Red’s log, you can acccess through journalctl:
|
||||||
|
|
||||||
|
:code:`sudo journalctl -u red@instancename`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user