[Unit] Description=HAPX-UI self-update — STEP 1: download & verify (no restart) # Triggered by the web UI via `systemctl start --no-block`. This step ONLY # obtains + verifies the new binary into /var/lib/hapx-ui-staging/hapx-ui.staged — it # does NOT touch the running service. The operator then confirms activation, # which starts the separate hapx-ui-activate.service. # # Runs as its own transient unit under PID 1 (own cgroup), independent of # hapx-ui.service. After=network-online.target Wants=network-online.target [Service] Type=oneshot ExecStart=/usr/local/sbin/hapx-ui-update build # No [Install] section — this unit is started on demand, never enabled at boot.