table of contents
other versions
- wheezy 44-11+deb7u4
- wheezy-backports 204-14~bpo70+1
- jessie 215-17+deb8u7
- jessie-backports 230-7~bpo8+2
- testing 232-25
- unstable 232-25
- experimental 233-8
SYSCTL.D(5) | sysctl.d | SYSCTL.D(5) |
NAME¶
sysctl.d - Configure kernel parameters at bootSYNOPSIS¶
/etc/sysctl.d/*.conf /run/sysctl.d/*.conf /usr/lib/sysctl.d/*.confDESCRIPTION¶
systemd uses configuration files from the above directories to configure sysctl(8) kernel parameters to load during boot.CONFIGURATION FORMAT¶
The configuration files should simply contain a list of variable assignments, separated by newlines. Empty lines and lines whose first non-whitespace character is # or ; are ignored. Note that both / and . are accepted as separators in sysctl variable names. Each configuration file is named in the style of <program>.conf. Files in /etc/ overwrite files with the same name in /usr/lib/. Files in /run overwrite files with the same name in /etc/ and /usr/lib/. Packages should install their configuration files in /usr/lib/, files in /etc/ are reserved for the local administration, which possibly decides to overwrite the configurations installed from packages. All files are sorted by filename in alphabetical order, regardless in which of the directories they reside, to ensure that a specific configuration file takes precedence over another file with an alphabetically later name.EXAMPLE¶
Example 1. /etc/sysctl.d/domain-name.conf example:# Set kernel YP domain name kernel.domainname=example.com
SEE ALSO¶
AUTHOR¶
Lennart Poettering <lennart@poettering.net>Developer
10/07/2013 | systemd |