커서가 망쳐놓은 듯

This commit is contained in:
2026-03-17 12:33:30 +09:00
parent 6fc179f598
commit c2b2b711e0
91 changed files with 45391 additions and 2244 deletions

18
kis_backtest_web.service Normal file
View File

@@ -0,0 +1,18 @@
[Unit]
Description=KIS Quant Backtest Web Dashboard
After=network.target
[Service]
Type=simple
User=hoon
WorkingDirectory=/home/hoon/kis_bot
# 시작 전 5050 포트 강제 해제 (재시작 시 포트 잔존 방지)
ExecStartPre=/bin/sh -c 'fuser -k 5050/tcp 2>/dev/null; sleep 1; true'
ExecStart=/home/hoon/kis_bot/.venv/bin/python /home/hoon/kis_bot/backtest_web.py
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target