RC.CONF(8) - System Manager’s Manual # RC.CONF(8) - System Manager’s Manual
NAME # rc.conf, rc.conf.local - system daemon configuration database
DESCRIPTION # The file rc.conf contains a series of variable assignments that are used to configure the system daemons. These variables are read by rc(8) early on in the boot sequence and every time an rc.d(8) script is executed.
It is advisable to leave rc.conf untouched, and instead create and edit a new rc.
...
RC.SUBR(8) - System Manager’s Manual # RC.SUBR(8) - System Manager’s Manual
NAME # rc.subr - daemon control scripts routines
SYNOPSIS # daemon=path_to_executable‌
. /etc/rc.d/rc.subr
rc_cmd action
DESCRIPTION # Apart from a few notable exceptions, rc scripts must follow this naming policy:
When possible, use the same name as the daemon it is referring to. It must follow ksh(1) variable naming: begin with an alphabetic or underscore character, followed by one or more alphanumeric or underscore characters.
...
RC(8) - System Manager’s Manual # RC(8) - System Manager’s Manual
NAME # rc, rc.firsttime, rc.local, rc.securelevel - command scripts for system startup
DESCRIPTION # rc is the command script that is invoked by init(8) when the system starts up. It performs system housekeeping chores and starts up system daemons. Additionally, rc is intricately tied to the netstart(8) script, which runs commands and daemons pertaining to the network. rc is also used to execute any rc.
...
RCCTL(8) - System Manager’s Manual # RCCTL(8) - System Manager’s Manual
NAME # rcctl - configure and control daemons and services
SYNOPSIS # rcctl get|getdef|set service | daemon [variable [argument …]]
rcctl [-df] check|configtest|reload|restart|start|stop daemon …
rcctl disable|enable|order [daemon …]
rcctl ls all|failed|off|on|rogue|started|stopped
DESCRIPTION # The rcctl utility can enable or disable a base system service or a base system or package daemon in rc.conf.local(8) or display its configuration and status.
...
Sync,
Boot_sparc64,
Boot_luna88k,
Savecore,
Boot_alpha,
Rc.shutdown,
Boot_i386,
Boot_hppa,
Shutdown,
Boot_amd64,
Rc.d,
Boot_macppc,
Utmp,
Reboot REBOOT(8) - System Manager’s Manual # REBOOT(8) - System Manager’s Manual
NAME # reboot, halt - stopping and restarting the system
SYNOPSIS # halt [-dnpq]
reboot [-dnq]
DESCRIPTION # The halt and reboot utilities flush the file system cache to disk, execute the rc.d(8) scripts specified by the pkg_scripts variable defined in rc.conf(8) in a reverse order, run the system shutdown script, send all running processes a SIGTERM (and subsequently a SIGKILL), and, respectively, halt or restart the system.
...