system daemon configuration database
contains a series of
variable assignments that are used to configure the system daemons. These
variables are read by rc(8)
in the boot sequence and every time an
script is executed.
It is advisable to leave
and instead create and edit a new
file or use the
utility. Since only the
last assignment to any variable takes effect, variables set in this file
override variables previously set in
is made up of variable assignments
with comments designated by a hash mark (‘#’).
Base system daemon
configuration variables are used
to enable and disable daemon programs that are installed by default, and to
set their command line options.
All of these variables follow the format
is the name of one of the
daemon control scripts.
The list of base system daemons, including the information whether they are
enabled by default, can be displayed with this command:
grep _flags /etc/rc.conf
If one of these variables is set to
is disabled. If set to the
empty string, the daemon
is run with the
default command line arguments defined in its
script, or without command line
arguments if no such default exists. If set to any other value, including a
string containing only a single blank character, the
is run with those command line
configuration variables are used to
enable and disable daemon programs installed from
, and to set their
command line options.
control scripts to be started in the
specified order. For each daemon
default command line options can optionally be overridden using the variable
_flags as described above.
Base system service
configuration variables control
features available by default that are not implemented as daemons. They can be
set to either
. When set to
, they have the following effects:
- rc calls: accton(8)
- rc calls: quotacheck(8)
- rc calls: ipsecctl(8)
- rc reorders some libraries for improved protection against ROP.
- See multicast(4).
- rc calls: pfctl(8)
- The script /etc/rc.d/spamd uses
-b in front of any other configured
command line arguments when running
configuration variables mostly determine
the locations of specific configuration files. The boot scripts use them as
- The amd(8) master map file. The
script /etc/rc.d/amd appends its
content to the command line when starting the auto mounter daemon.
- Extra shared library search path entries. rc calls:
Do not start the dhcpd(8)
when booting the system:
To run the dhcpd daemon, add the following line to
To start it with some options:
argument at boot time, and in reverse
order with the
argument at shutdown:
The default location of the amd(8)
master map file is:
amd_master=/etc/amd/master # AMD 'master' map
file first appeared in