# User unit for the Linux bench agent (no elevated rights). Install for the bench user:
#   mkdir -p ~/.config/systemd/user && cp igneum-bench-agent.service ~/.config/systemd/user/
#   systemctl --user enable --now igneum-bench-agent      (loginctl enable-linger <user> keeps it up without a session)
# Stop by the agent's own pid file: igneum-bench-agent.py stop (systemd's stop sends the same SIGTERM).
[Unit]
Description=Igneum bench agent
After=network-online.target

[Service]
ExecStart=/usr/bin/python3 %h/.igneum-bench/igneum-bench-agent.py run
Restart=on-failure
RestartSec=15
KillMode=mixed
TimeoutStopSec=60

[Install]
WantedBy=default.target
