Changeset View
Changeset View
Standalone View
Standalone View
share/man/man5/rc.conf.5
| Show All 16 Lines | |||||
| .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||
| .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||
| .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
| .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
| .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
| .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
| .\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
| .\" | .\" | ||||
| .Dd October 5, 2025 | .Dd November 14, 2025 | ||||
| .Dt RC.CONF 5 | .Dt RC.CONF 5 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm rc.conf | .Nm rc.conf | ||||
| .Nd system configuration information | .Nd system configuration information | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| The file | The file | ||||
| .Nm | .Nm | ||||
| ▲ Show 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | |||||
| services are already running, and to start them if necessary. | services are already running, and to start them if necessary. | ||||
| By default during boot time this check is bypassed if the | By default during boot time this check is bypassed if the | ||||
| required service is enabled in | required service is enabled in | ||||
| .Pa /etc/rc.conf[.local] . | .Pa /etc/rc.conf[.local] . | ||||
| Setting this option will bypass that check at boot time and | Setting this option will bypass that check at boot time and | ||||
| always test whether or not the service is actually running. | always test whether or not the service is actually running. | ||||
| Enabling this option is likely to increase your boot time if | Enabling this option is likely to increase your boot time if | ||||
| services are enabled that utilize the force_depend check. | services are enabled that utilize the force_depend check. | ||||
| .It Ao Ar name Ac Ns Va _audit_user | |||||
| .Pq Vt str | |||||
| A user name or UID to use as the | |||||
| .Xr audit 4 | |||||
| user for the service. | |||||
| Run the chrooted service under this system group. | |||||
| By default, when an unprvileged user restarts a service using a utility | |||||
| such as sudo or doas, the service's will audit session will point to the | |||||
| unprivileged user, which may be undesirable. | |||||
| In that case, this variable can be used to override the audit user using | |||||
| .Xr setaudit 8 . | |||||
| .It Ao Ar name Ac Ns Va _chroot | .It Ao Ar name Ac Ns Va _chroot | ||||
| .Pq Vt str | .Pq Vt str | ||||
| .Xr chroot 8 | .Xr chroot 8 | ||||
| to this directory before running the service. | to this directory before running the service. | ||||
| .It Ao Ar name Ac Ns Va _cpuset | .It Ao Ar name Ac Ns Va _cpuset | ||||
| .Pq Vt str | .Pq Vt str | ||||
| A list of CPUs to run the service on. | A list of CPUs to run the service on. | ||||
| Passed to | Passed to | ||||
| .Xr cpuset 1 | .Xr cpuset 1 | ||||
| using the | using the | ||||
| .Fl l | .Fl l | ||||
| flag. | flag. | ||||
| .It Ao Ar name Ac Ns Va _fib | .It Ao Ar name Ac Ns Va _fib | ||||
| .Pq Vt int | .Pq Vt int | ||||
| The | The | ||||
| .Xr setfib 1 | .Xr setfib 1 | ||||
| value to run the service under. | value to run the service under. | ||||
| .It Ao Ar name Ac Ns Va _group | .It Ao Ar name Ac Ns Va _group | ||||
| .Pq Vt str | .Pq Vt str | ||||
| Run the chrooted service under this system group. | |||||
| Unlike the | Unlike the | ||||
| .Ao Ar name Ac Ns Va _user | .Ao Ar name Ac Ns Va _user | ||||
| setting, this setting has no effect if the service is not chrooted. | setting, this setting has no effect if the service is not chrooted. | ||||
| .It Ao Ar name Ac Ns Va _limits | .It Ao Ar name Ac Ns Va _limits | ||||
| .Pq Vt str | .Pq Vt str | ||||
| Resource limits to apply to the service using | Resource limits to apply to the service using | ||||
| .Xr limits 1 . | .Xr limits 1 . | ||||
| By default, resource limits are based on the login class defined in | By default, resource limits are based on the login class defined in | ||||
| ▲ Show 20 Lines • Show All 4,954 Lines • Show Last 20 Lines | |||||