Files
quant-trading/deploy/systemd/quant-trading-api.service
Gahow Wang 83495bcd23 chore(deploy): keep start scripts and systemd units in deploy/
The three services become quant-trading-monitor, quant-trading-api and
quant-trading-vite, run from /home/gahow/projects/quant-trading. Their
units were previously untracked files in ~/.config/systemd/user.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 11:42:40 +08:00

15 lines
319 B
Desktop File

[Unit]
Description=Quant trading web API server
After=network-online.target
[Service]
Type=simple
WorkingDirectory=/home/gahow/projects/quant-trading/web
ExecStart=/home/gahow/projects/quant-trading/deploy/start-web-api.sh
Restart=always
RestartSec=3
Environment=NODE_ENV=production
[Install]
WantedBy=default.target