Home/Q&A/Can I install a CI runner as a system boot service on a rented Mac mini?

Can I install a CI runner as a system boot service on a rented Mac mini?

Updated · airankrush

Direct answer

Not recommended, and in most cases not needed. Both platforms design their macOS runner as a LaunchAgent of the logged-in user. You have an admin account and can install system-level software, but leave the platform components and the network configuration alone.

Basis

  • macOS background services come in two kinds: a LaunchDaemon starts with the system and belongs to no logged-in user; a LaunchAgent starts when a particular user logs in. GitLab's documentation says outright that the Runner is not supported running as a LaunchDaemon (source, checked 2026-11-12), and GitHub's svc.sh likewise installs only into the current user's LaunchAgents folder.
  • The reason is what makes iOS builds special: the simulator needs a graphical session and signing needs the user's keychain, and a system-level service has neither. The Linux lesson that a system service is the most reliable option does not hold here.
  • On permissions, the customer account is an admin and can install apps, Homebrew, developer tools and system extensions; when an authentication dialog appears during installation, enter this Mac's login password. Tools that need system-level components, such as some container or virtualization software, can usually be installed.
  • A background program that does not build iOS and only runs script-type tasks can technically be installed as a system-level service. That falls within your normal scope as an admin.

Information as of .

Boundaries: when the answer is different

Admin does not mean unrestricted. You may not remove or modify the platform management account, MDM or remote control components, and you may not change the network configuration, set a firmware password or shut the machine down yourself. Some installers also add network extensions or modify DNS or proxy settings along the way; when you see such a prompt, stop and ask support first. The real precondition for starting at boot is not the service type but the machine returning to a logged-in session after a restart. That depends on the delivery configuration, so ask support to check it rather than changing automatic login and disk encryption yourself.

How to do it

  1. Always install the runner as a service of the current user with the official script. Do not convert it to system level by hand.
  2. For other helper programs that need to stay running, prefer brew services running as the current user.
  3. When a system-level install is truly needed, first read which system settings the installer will change.
  4. For anything touching network, login or encryption settings, contact support to confirm first.
  5. After installing, restart once to verify that both remote control and the runner recover.

Use case

This question belongs to the use case: Rented Mac mini as an always-on build machine for small teams? Count your build minutes first

Other questions in the same use case:

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · All Q&A