IT lexicon › Infra & Ops › rcctl

rcctl

Infra & Ops På svenska → Updated: 2026-11-09

OpenBSD's tool for enabling, disabling and configuring services without hand-editing the startup files.

OpenBSD starts its services with plain shell scripts in /etc/rc.d, driven by variables in rc.conf.local. It worked, but meant editing a file by hand and hoping you spelled things right. Antoine Jacoutot wrote rcctl, which shipped with OpenBSD 5.7 in 2015, and put a command-line face on the same model: rcctl enable httpd, rcctl set httpd flags -v, rcctl restart httpd.

Underneath it's still the same text file and the same shell scripts; rcctl just writes the lines for you and keeps them sorted. It's a neat summary of OpenBSD's answer to the systemd era in Linux: a friendlier interface to something that stays small, readable and replaceable.

← Back to the lexicon