add script for install tg-bot on FBS1 new revision

This commit is contained in:
Ilia Korshunov
2025-06-15 18:06:40 +03:00
parent 2cffee981b
commit ddb279305a
3 changed files with 15 additions and 21 deletions

View File

@@ -11,4 +11,10 @@ cat /home/gem/moonraker-telegram-bot/scripts/requirements.txt | grep -v "uvloop"
/home/gem/moonraker-telegram-bot-env/bin/pip install --no-cache-dir -r /home/gem/space/requirements.txt
cp /home/gem/moonraker-telegram-bot/scripts/base_install_template /home/gem/printer_data/config/telegram-bot.cfg
chown gem:gem /home/gem/printer_data/config/telegram-bot.cfg
rm -rf ./space/
wget https://raw.githubusercontent.com/pjandro/fbS1Scripts/refs/heads/main/adds/tgBot.sh
chmod +x ./tgBot.sh
cp ./kp.sh kp.sh_back
wget https://raw.githubusercontent.com/pjandro/fbS1Scripts/refs/heads/main/adds/kp.sh
chmod +x ./kp.sh
EOF