change tgBot logs location

This commit is contained in:
Ilia Korshunov 2025-06-24 04:41:55 +03:00
parent a95daaeb60
commit be64140898
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash
cd /home/gem
rm /home/gem/printer_data/logs/telegram-bot.log
./tgBot.sh &
cd /home/gem/klipper

View File

@ -3,4 +3,4 @@
sleep 15
cd /home/gem/moonraker-telegram-bot
/home/gem/moonraker-telegram-bot-env/bin/python /home/gem/moonraker-telegram-bot/bot/main.py -c /home/gem/printer_data/config/telegram-bot.cfg -l /tmp/tgBot.log
/home/gem/moonraker-telegram-bot-env/bin/python /home/gem/moonraker-telegram-bot/bot/main.py -c /home/gem/printer_data/config/telegram-bot.cfg -l /home/gem/printer_data/logs/telegram-bot.log