feat: add segmented global CM95 pipeline

This commit is contained in:
OpenAI Codex
2026-10-03 08:44:35 +08:00
parent c62326c2dd
commit 2a6de41d12
20 changed files with 2120 additions and 27 deletions

View File

@@ -0,0 +1,19 @@
[Unit]
Description=CM95 Global segmented pipeline - one segment
Wants=network-online.target
After=network-online.target
ConditionPathExists=/mnt/sda1/CM93_2014.zip
[Service]
Type=oneshot
User=root
WorkingDirectory=/root/sourceserver/cm95-pg
ExecStart=/root/sourceserver/cm95-pg/.venv/bin/cm95global --config config/global/cm95_global_2014_v1.json run-next
CPUAffinity=0 1
Nice=10
IOSchedulingClass=best-effort
IOSchedulingPriority=7
MemoryHigh=3G
MemoryMax=4G
TimeoutStartSec=4h
KillMode=control-group

View File

@@ -0,0 +1,12 @@
[Unit]
Description=CM95 Global segmented pipeline scheduler
[Timer]
OnBootSec=5min
OnUnitInactiveSec=2min
AccuracySec=15s
Persistent=true
Unit=cm95-global.service
[Install]
WantedBy=timers.target