Files
gaokao-volunteer-system/deploy/systemd/gaokao-delivery-dispatch.service
Hermes Agent 7fe4ddcbc4
Some checks failed
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
feat: harden T12 backup and portal workflows
2026-06-14 23:12:18 +08:00

13 lines
557 B
Desktop File

[Unit]
Description=Gaokao delivery dispatcher (report_ready -> sent/failed)
After=network.target
[Service]
Type=oneshot
WorkingDirectory=/home/long/project/gaokao-volunteer-system
Environment=GAOKAO_PYTHON_BIN=/usr/bin/python3
Environment=GAOKAO_DELIVERY_CHANNEL=station
Environment=GAOKAO_DELIVERY_LIMIT=100
EnvironmentFile=-/home/long/project/gaokao-volunteer-system/deploy/systemd/gaokao-jobs.env
ExecStart=/bin/sh -lc 'exec "$GAOKAO_PYTHON_BIN" scripts/gaokao-delivery-dispatch.py --channel "$GAOKAO_DELIVERY_CHANNEL" --limit "$GAOKAO_DELIVERY_LIMIT"'