Service management cheatsheet

These are a few commonly used commands. For more, see the manual pages of the service-control, system-control, shutdown, and rcctl programs. For exposition, we here assume that the cron service has its service bundle directory at, or accessible via a symbolic link at, /service/cron.

Daemontools-style service management employs direct access to the service bundle directories.

OpenBSD-style, systemd-style, and SMF-style service management searches for service bundle directories in several well-known locations. The cron service (located in such a location) is simply denominated either cron.service or simply cron.

Associated log services are conventionally denominated cyclog@service-name, and pointed to from the logged service's service bundle by a log symbolic link. A service and its associated log service may, where such convention is adhered to, be named together using shell brace expansion: {cyclog@,}service-name.

Daemontools-style

OpenBSD-style

systemd-style

Solaris SMF-style

Common