- 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>
23 lines
457 B
Desktop File
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
|