From 6a40240c649b8bd2eab963281a164e80897bdac2 Mon Sep 17 00:00:00 2001 From: missytake Date: Mon, 9 Oct 2023 09:15:09 +0200 Subject: [PATCH] README: make commands easier to copy-paste --- README.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 998d2c6..9497f08 100644 --- a/README.md +++ b/README.md @@ -72,17 +72,24 @@ After you deployed it, you need to do two steps manually: First, -login to the user with ssh -and run -`export $(cat ~/.env | xargs) && ~/.local/lib/teams-bot.venv/bin/teams-bot init` to initialize the bot, create the crew, -and join the crew. +and join the crew, +login to the user with ssh +and run: -Then run -`systemctl --user start teams-bot` +``` +export $(cat ~/.env | xargs) && ~/.local/lib/teams-bot.venv/bin/teams-bot init +``` + +Then, to start the bot -and keep it running in the background. +and keep it running in the background, +run: + +``` +systemctl --user start teams-bot +``` You can view the log output with `journalctl --user -fu teams-bot`