systemd Unit Generator
Service
Timer
Place these files on the system at the paths above them, and run systemctl daemon-reload to make sure they are loaded by systemd.
/etc/systemd/system/grafana-agent.service
[Unit]
Description=Run Grafana Agent
[Service]
Type=simple
ExecStart=/usr/bin/grafana-agent
Restart=no
[Install]
WantedBy=undefined