strawberry/deploy/salt/files/strawberry-central-cycle.service
trvon 25d0da1121
Salt: install/config/export/central/distribute states + central cycle orchestration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 06:43:42 -07:00

17 lines
509 B
Desktop File

# Managed by Salt (strawberry.central). Rendered as a jinja template.
[Unit]
Description=Strawberry central learning cycle (train x3 seeds, overlay, publish to Salt dist)
[Service]
Type=oneshot
User=root
Nice=19
IOSchedulingClass=idle
CPUSchedulingPolicy=idle
UMask=0077
Environment=EPOCHS={{ epochs }}
Environment=MAX_NODE_SHARE={{ max_node_share }}
ExecStart=/usr/local/sbin/strawberry-central-cycle.sh {{ bundle_dir }} {{ work_dir }} {{ dist_dir }}
TimeoutStartSec=6h
NoNewPrivileges=true
PrivateTmp=true