SEC.01
The playbook
The run starts read-only: the recon probes decide what happens next. The steps that follow are adapted to the distribution and state found — a real machine is rarely clean.
- 01recondoes the account exist? its home folder (usually /Users/<account>)
- 02reconis a runner already configured / installed as a service?
- 03reconarchitecture (arm64 → osx-arm64, x86_64 → osx-x64) and latest runner version
- 04reconsession open for this account (required by svc.sh)? CLT present?
- 05actDownload the runnerverify
- 06actExtractverify
- 07actRegisterverify
- 08actInstall the serviceverify
SEC.02
What it verifies
Each step ships its own check. The run only moves on when the check passes, so what the recipe reports as done is what is actually on the server.
- 01verifyDownload the runnerVerified by
tar tzf /Users/${user}/actions-runner/runner.tar.gz | grep -c config.sh - 02verifyExtractVerified by
test -x /Users/${user}/actions-runner/config.sh && echo ok - 03verifyRegisterVerified by
test -f /Users/${user}/actions-runner/.runner && echo ok - 04verifyInstall the serviceVerified by
sudo -u ${user} -H bash -c 'cd /Users/${user}/actions-runner && ./svc.sh status' 2>&1 | grep -ci started
SEC.03
Guardrails
Non-negotiable instructions the run must respect, whatever it finds on the server.
The registration token is a single-use secret (1 h): do not display it again. The runner never runs as root. svc.sh creates a LaunchAgent: it only starts if this account has an open session (automatic login), otherwise report it and suggest create-launchd-service with run_as.
SEC.04
Variables
What you choose before launching — the recipe fills in the rest.
| Name | Meaning |
|---|---|
| ${repo_url} | Repo/org URL |
| ${token} | Registration token |
| ${user} | Runner account (non-root) |
SEC.05
How a recipe runs in Servor
Servor is zero-knowledge: the platform cannot execute anything on its own. When you launch this recipe, a run reads the reconnaissance, plans the steps and asks for your approval. Each approved command is signed by your browser — with a key the server never sees — then relayed verbatim to the agent, which verifies the signature locally before executing.
search by intent — type “firewall”, get ufw
- 01Read-only reconnaissance before any change
- 02Every command signed by your browser, approved by you
- 03Each step verified before the run moves on, every run kept in the history
SEC.06
Deploy on Servor button
Maintain GitHub Actions Runner (macOS) or a project that needs it? Put this button in your README or on your site: one click and your users install it on their own server.
SEC.07
More ci/cd recipes
- 01GitHub Actions RunnerSelf-hosted GitHub Actions runner under a dedicated user, registered as a systemd service.
- 02GitLab RunnerGitLab Runner from the official repo, registered with the Docker or shell executor.
- 03Woodpecker CILightweight Woodpecker CI (server + agent) via Docker Compose, behind an HTTPS reverse proxy.
- 04Ansible (control node)Ansible installed as a control node from the distro packages.
- 05systemd serviceDaemonize a command into a managed systemd service (auto-restart, at boot).
Verified recipe
Run this recipe on your server
Connect a server, launch the recipe, and approve each step as Servor executes and verifies it. Free plan, no card required.