17 lines
509 B
Desktop File
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
|