# benchweave service install


Render the service-manager files for this store (at-rest).


``` bash
benchweave service install [OPTIONS]
```


Runs under the store hold (label `service-install`): a live gateway REFUSES -- install-time is stopped-time. The unit derives TimeoutStopSec from the commissioned protective ceilings; the plist carries the launchd mapping divergences in comments.


<span class="gd-details-chevron" aria-hidden="true"></span>Full --help output


    Usage: benchweave service install [OPTIONS]

      Render the service-manager files for this store (at-rest).

      Runs under the store hold (label ``service-install``): a live gateway
      REFUSES -- install-time is stopped-time. The unit derives TimeoutStopSec from
      the commissioned protective ceilings; the plist carries the launchd mapping
      divergences in comments.

    Options:
      --data-dir PATH      At-rest data directory (holds state.sqlite + content/).
                           [required]
      --unit-output PATH   Where to write the rendered systemd unit (default: the
                           conventional /etc/systemd/system path, which needs
                           privileges).
      --plist-output PATH  Where to write the rendered launchd plist (macOS only;
                           default:
                           ~/Library/LaunchDaemons/com.benchweave.gateway.plist).
      --help               Show this message and exit.


# Options


`--data-dir: PATH`  
**Required.** At-rest data directory (holds state.sqlite + content/). Environment variable: `BENCHWEAVE_DATA_DIR`.

`--unit-output: PATH`  
Where to write the rendered systemd unit (default: the conventional /etc/systemd/system path, which needs privileges).

`--plist-output: PATH`  
Where to write the rendered launchd plist (macOS only; default: ~/Library/LaunchDaemons/com.benchweave.gateway.plist).
