Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Document deploying Vole on macOS with launchd

75478a9d2f27a85658aed1bf693c48ff98810ca8 · Keenan Nemetz · 3d ago · parent 5a418459

Document deploying Vole on macOS with launchd

Add a dedicated macOS deployment page covering the LaunchAgent the Homebrew
formula installs, the LaunchDaemon variant and its _vole service account, the
prefix layout, and the sandboxing launchd does not provide. Cross-link it from
the Linux page and install guide, and fix the stale 'no Homebrew formula'
sentence.

docs/deploy/index.md +10−5

@@ -260,7 +260,9 @@ git clone ssh://git@forge.example.com/demo.git
260 260
261 261 ### On macOS
262 262
263 The `Match` block is the same; everything around it is not. The release attaches
263 A full macOS deployment — service variants, paths, the service account, and the
264 launchd caveats — lives on [Deploy Vole on macOS](macos.md). This section is only
265 the sshd front door. The `Match` block is the same; everything around it is not. The release attaches
264 266 the macOS drop-in as `vole-darwin-sshd.conf`, and the header names the macOS
265 267 steps:
266 268
@@ -282,7 +284,9 @@ sudo install -m 0644 vole-darwin-sshd.conf /etc/ssh/vole.conf
282 284 drop-in names, and set the three settings in `vole.toml`. `ssh_socket` must
283 285 name a directory both the service account and that account can reach: there is
284 286 no `/run` and no tmpfiles on macOS. `vole serve` creates the directory if it is
285 missing, but not the group they share.
287 missing, but not the group they share. The service account and the group it
288 shares with that account are covered in
289 [Deploy Vole on macOS](macos.md#run-as-a-launchdaemon).
286 290
287 291 4. Restart Vole the way you started it.
288 292
@@ -290,9 +294,8 @@ The drop-in names `/usr/local/bin/vole`, `/usr/local/etc/vole/vole.toml`, and
290 294 `/usr/local/lib/vole/ssh-shell`, the paths of a system install. A Homebrew
291 295 install uses the prefix `brew --prefix` prints (`/opt/homebrew` on Apple
292 296 Silicon), so change those paths to match. `AuthorizedKeysCommandUser` is the
293 account `vole serve` runs as. This release ships no launchd unit yet, so there is
294 nothing to start it for you; see
295 [Install on macOS](../install.md#install-on-macos).
297 account `vole serve` runs as. Start the service with the LaunchAgent or
298 LaunchDaemon in [Deploy Vole on macOS](macos.md).
296 299
297 300 `vole whoami` returning your account name means sshd resolved your key to it and
298 301 the forced command reached the service.
@@ -364,6 +367,8 @@ sudo systemctl restart vole
364 367
365 368 ## Next
366 369
370 - [Deploy Vole on macOS](macos.md) — the launchd service, paths, and service
371 account on a Mac.
367 372 - [Back up an instance](../operations.md#back-up-an-instance) — provider
368 373 snapshots do not replace an application backup and restore test.
369 374 - [Set up a CI runner](runner.md) — run repository code on a separate machine.