diff --git a/README.md b/README.md index bb37d39..3736207 100644 --- a/README.md +++ b/README.md @@ -25,18 +25,17 @@ # systemd unit для запуска бота ```commandline -# /etc/systemd/system/twitch-bot.service +# /etc/systemd/system/tgbot-inter.service [Unit] -Description=Twitch bot notifier +Description=Twitch bot notifier (STREAMER) [Service] Restart=always RestartSec=30s Type=simple -WorkingDir=/opt/tgbot-streamer -ExecStart=/bin/bash -c 'source /opt/twitch-tgbot/venv/bin/activate && /opt/twitch-tgbot/main.py --prod' +WorkingDirectory=/opt/tgbot-STREAMER +ExecStart=/bin/bash -c '/opt/twitch-tgbot/venv/bin/python3 /opt/twitch-tgbot/main.py' [Install] WantedBy=multi-user.target - ``` \ No newline at end of file