logo

Unix / Linux

Systemd

When using virtual machines we recommend a process manager like systemd.
shell
curl -s -L https://releases.hoop.dev/release/install-cli.sh | sh cat - >/etc/systemd/system/hoopagent.service <<EOF [Unit] Description=Hoop Agent After=network.target [Service] ExecStart=hoop start agent Environment="HOME=/root" Environment="HOOP_KEY=<AUTH-KEY>" StandardOutput=true Restart=on-failure RestartSec=10s [Install] WantedBy=multi-user.target EOF systemctl daemon-reload systemctl enable hoopagent.service systemctl start hoopagent

Manual

To run it locally
shell
curl -s -L https://releases.hoop.dev/release/install-cli.sh | sh HOOP_KEY=<auth-key> hoop start agent

Powered by Notaku