1SYSTEMD-SYSCTL.SERVICE(8)   systemd-sysctl.service   SYSTEMD-SYSCTL.SERVICE(8)
2
3
4

NAME

6       systemd-sysctl.service, systemd-sysctl - Configure kernel parameters at
7       boot
8

SYNOPSIS

10       /usr/lib/systemd/systemd-sysctl [OPTIONS...] [CONFIGFILE...]
11
12       systemd-sysctl.service
13

DESCRIPTION

15       systemd-sysctl.service is an early boot service that configures
16       sysctl(8) kernel parameters by invoking
17       /usr/lib/systemd/systemd-sysctl.
18
19       When invoked with no arguments, /usr/lib/systemd/systemd-sysctl applies
20       all directives from configuration files listed in sysctl.d(5). If one
21       or more filenames are passed on the command line, only the directives
22       in these files are applied.
23
24       In addition, --prefix= option may be used to limit which sysctl
25       settings are applied.
26
27       See sysctl.d(5) for information about the configuration of sysctl
28       settings. After sysctl configuration is changed on disk, it must be
29       written to the files in /proc/sys before it takes effect. It is
30       possible to update specific settings, or simply to reload all
31       configuration, see Examples below.
32

OPTIONS

34       --prefix=
35           Only apply rules with the specified prefix.
36
37       --cat-config
38           Copy the contents of config files to standard output. Before each
39           file, the filename is printed as a comment.
40
41       --no-pager
42           Do not pipe output into a pager.
43
44       -h, --help
45           Print a short help text and exit.
46
47       --version
48           Print a short version string and exit.
49

EXAMPLES

51       Example 1. Reset all sysctl settings
52
53           systemctl restart systemd-sysctl
54
55       Example 2. View coredump handler configuration
56
57           # sysctl kernel.core_pattern
58           kernel.core_pattern = |/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t %P %I
59
60       Example 3. Update coredump handler configuration
61
62           # /usr/lib/systemd/systemd-sysctl --prefix kernel.core_pattern
63
64       This searches all the directories listed in sysctl.d(5) for
65       configuration files and writes /proc/sys/kernel/core_pattern.
66
67       Example 4. Update coredump handler configuration according to a
68       specific file
69
70           # /usr/lib/systemd/systemd-sysctl 50-coredump.conf
71
72       This applies all the settings found in 50-coredump.conf. Either
73       /etc/sysctl.d/50-coredump.conf, or /run/sysctl.d/50-coredump.conf, or
74       /usr/lib/sysctl.d/50-coredump.conf will be used, in the order of
75       preference.
76
77       See sysctl(8) for various ways to directly apply sysctl settings.
78

SEE ALSO

80       systemd(1), sysctl.d(5), sysctl(8),
81
82
83
84systemd 246                                          SYSTEMD-SYSCTL.SERVICE(8)
Impressum