mirror of
https://github.com/andrey271192/kaskad.git
synced 2026-09-21 13:51:57 +00:00
Initial release of Kaskad
Каскадная маршрутизация русских сайтов через свой набор RU-серверов с failover, Telegram-ботом и веб-интерфейсом. - bin/ — failover-script, route/domain helpers, ams/ru bootstrap - bot/ — Telegram-бот (Python, long-poll) - webui/ — Flask single-page dashboard - docs/ — установка, архитектура, API бота и WebUI - examples/ — шаблоны конфигов
This commit is contained in:
18
bot/ru-tg-bot.service
Normal file
18
bot/ru-tg-bot.service
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=RU tunnel Telegram bot
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
EnvironmentFile=/etc/wireguard/notify.env
|
||||
Environment=LOCAL_HOST=ams1
|
||||
Environment=LOCAL_IP=127.0.0.1
|
||||
ExecStart=/usr/bin/python3 /usr/local/bin/ru-tg-bot.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user