Files
vps_monitoring/systemd/vps-monitoring.service
Андрей Бобырев fab7ed7912 fix: xterm.js CDN → jsdelivr, port 8000 → 7272, custom port in installer
- Switch xterm.js from cdnjs (404) to jsdelivr (working)
- Add xterm-addon-fit for auto-resize terminal
- Change default port from 8000 to 7272 everywhere
- Install script: --port flag for custom port selection
- sed-based port injection into systemd service at install time

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-20 12:38:01 +03:00

17 lines
406 B
Desktop File

[Unit]
Description=VPS Monitoring Service
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/vps-monitoring
Environment=TELEGRAM_BOT_TOKEN=8815672362:AAFGwxrWjSsjGuc9iBpX0aupKRoKkviS2NA
Environment=TELEGRAM_CHAT_ID=371010834
ExecStart=/opt/vps-monitoring/venv/bin/uvicorn server.main:app --host 0.0.0.0 --port 7272
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target