Telegram bot running server-admin tasks via Claude Agent SDK
kurigram bot with admin check by user IDs from env, per-chat Claude session resume, streaming progress, /model command for model and reasoning effort selection, and systemd deploy script. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
17
deploy/claude-tg-bot.service
Normal file
17
deploy/claude-tg-bot.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Claude Server Admin Telegram Bot
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/claude-tg-bot
|
||||
EnvironmentFile=/etc/claude-tg-bot/.env
|
||||
Environment=IS_SANDBOX=1
|
||||
ExecStart=/opt/claude-tg-bot/venv/bin/python -m bot.main
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user