[Unit] Description=大时代 Production Service After=network.target # COMPATIBILITY_SURFACE: stable # OWNER: ops-team # SEE: docs/legacy-inventory.md#gateway-first-production-example # # This systemd unit runs the gateway-first production topology. # It executes scripts/run_prod.sh which launches backend.main as the # primary gateway/runtime process. For split-service deployment topology, # see docs/current-architecture.md and deploy/README.md [Service] Type=simple WorkingDirectory=/root/code/evotraders ExecStart=/root/code/evotraders/scripts/run_prod.sh Restart=always RestartSec=5 Environment=PYTHONUNBUFFERED=1 [Install] WantedBy=multi-user.target