diff --git a/docs/HOST_AGENT.md b/docs/HOST_AGENT.md index 5f95921..41d5362 100644 --- a/docs/HOST_AGENT.md +++ b/docs/HOST_AGENT.md @@ -74,15 +74,20 @@ Prefer to take full control or working in air-gapped environments? You can still #### Linux (systemd) ```bash +# Download the binary for your architecture sudo curl -fsSL https://github.com/rcourtman/Pulse/releases/latest/download/pulse-host-agent-linux-amd64 \ -o /usr/local/bin/pulse-host-agent sudo chmod +x /usr/local/bin/pulse-host-agent + +# Run the agent sudo /usr/local/bin/pulse-host-agent \ --url http://pulse.example.local:7655 \ --token \ --interval 30s ``` +Available Linux architectures: `pulse-host-agent-linux-amd64`, `pulse-host-agent-linux-arm64`, `pulse-host-agent-linux-armv7` + For persistence, drop a systemd unit (e.g. `/etc/systemd/system/pulse-host-agent.service`) referencing the same command and enable it with `systemctl enable --now pulse-host-agent`. #### macOS (launchd) diff --git a/scripts/build-release.sh b/scripts/build-release.sh index 1852e60..baf238e 100755 --- a/scripts/build-release.sh +++ b/scripts/build-release.sh @@ -247,6 +247,16 @@ for build_name in "${!builds[@]}"; do cp "$BUILD_DIR/pulse-sensor-proxy-$build_name" "$RELEASE_DIR/" done +# Copy standalone pulse-host-agent binaries to release directory +# These are needed for manual host-agent installation without a running Pulse server +echo "Copying standalone pulse-host-agent binaries..." +for build_name in "${!builds[@]}"; do + cp "$BUILD_DIR/pulse-host-agent-$build_name" "$RELEASE_DIR/" +done + +# Also copy standalone macOS host-agent (not tarballed version) +cp "$BUILD_DIR/pulse-host-agent-darwin-arm64" "$RELEASE_DIR/" + # Optionally package Helm chart if [ "${SKIP_HELM_PACKAGE:-0}" != "1" ]; then if command -v helm >/dev/null 2>&1; then @@ -267,7 +277,7 @@ cp install.sh "$RELEASE_DIR/" # Generate checksums (include tarballs, helm chart, standalone binaries, and install.sh) cd "$RELEASE_DIR" shopt -s nullglob -checksum_files=( *.tar.gz pulse-sensor-proxy-* install.sh ) +checksum_files=( *.tar.gz pulse-sensor-proxy-* pulse-host-agent-* install.sh ) if compgen -G "pulse-*.tgz" > /dev/null; then checksum_files+=( pulse-*.tgz ) fi