Files
scalp-bot/deploy/scalp-bot.service
anorandClaude Opus 4.6 6a045d23f1 feat: deploy — systemd service, mode: live, .gitignore
- config.yaml: mode: paper → live
- .gitignore: добавить .env, .DS_Store
- deploy/scalp-bot.service — systemd user unit
- deploy/update.sh — скрипт обновления на сервере

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 22:03:21 +10:00

23 lines
457 B
Desktop File

[Unit]
Description=scalp-bot ETH futures scalper (Bybit)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/home/anor/scalp-bot
EnvironmentFile=/home/anor/scalp-bot/.env
ExecStart=/home/anor/scalp-bot/.venv/bin/python cli.py daemon
Restart=on-failure
RestartSec=30
KillSignal=SIGTERM
TimeoutStopSec=30
StandardOutput=journal
StandardError=journal
SyslogIdentifier=scalp-bot
[Install]
WantedBy=default.target