feat: add segmented global CM95 pipeline
This commit is contained in:
19
deploy/systemd/cm95-global.service
Normal file
19
deploy/systemd/cm95-global.service
Normal 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
|
||||
12
deploy/systemd/cm95-global.timer
Normal file
12
deploy/systemd/cm95-global.timer
Normal 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
|
||||
Reference in New Issue
Block a user