From f71aa9dd21980e15d2fb7f0d70f8ae87ad145647 Mon Sep 17 00:00:00 2001 From: Wyn Date: Sat, 5 May 2018 19:43:26 -0400 Subject: [PATCH] [V3 Docs] Autostart (#1599) Moved note to the top, added how to access red log. --- docs/autostart_systemd.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/autostart_systemd.rst b/docs/autostart_systemd.rst index 774fe4b58..f4bace189 100644 --- a/docs/autostart_systemd.rst +++ b/docs/autostart_systemd.rst @@ -37,6 +37,8 @@ Save and exit :code:`ctrl + O; enter; ctrl + x` 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 **@**: :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` -.. 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`