22 lines
684 B
Desktop File
22 lines
684 B
Desktop File
[Unit]
|
|
Description=Sample the reference workload to keep cost/eco scoring current
|
|
Documentation=file:%h/llm-router/CLAUDE.md
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=%h/llm-router
|
|
Environment=PYTHONPATH=%h/llm-router/src
|
|
EnvironmentFile=%h/llm-router/.env
|
|
# Fewer samples per run than a manual sweep, because the point is coverage
|
|
# across TIME rather than depth at one moment — see the timer. PYTHONPATH
|
|
# above resolves src/ for the `-m` import.
|
|
ExecStart=%h/llm-router/.venv/bin/python -m seed_energy --samples 3
|
|
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=read-only
|
|
ReadWritePaths=%h/llm-router
|