1SYSTEMD-DELTA(1)                 systemd-delta                SYSTEMD-DELTA(1)
2
3
4

NAME

6       systemd-delta - Find overridden configuration files
7

SYNOPSIS

9       systemd-delta [OPTIONS...] [PREFIX[/SUFFIX]|SUFFIX...]
10

DESCRIPTION

12       systemd-delta may be used to identify and compare configuration files
13       that override other configuration files. Files in /etc have highest
14       priority, files in /run have the second highest priority, ..., files in
15       /usr/lib have lowest priority. Files in a directory with higher
16       priority override files with the same name in directories of lower
17       priority. In addition, certain configuration files can have ".d"
18       directories which contain "drop-in" files with configuration snippets
19       which augment the main configuration file. "Drop-in" files can be
20       overridden in the same way by placing files with the same name in a
21       directory of higher priority (except that, in case of "drop-in" files,
22       both the "drop-in" file name and the name of the containing directory,
23       which corresponds to the name of the main configuration file, must
24       match). For a fuller explanation, see systemd.unit(5).
25
26       The command line argument will be split into a prefix and a suffix.
27       Either is optional. The prefix must be one of the directories
28       containing configuration files (/etc, /run, /usr/lib, ...). If it is
29       given, only overriding files contained in this directory will be shown.
30       Otherwise, all overriding files will be shown. The suffix must be a
31       name of a subdirectory containing configuration files like tmpfiles.d,
32       sysctl.d or systemd/system. If it is given, only configuration files in
33       this subdirectory (across all configuration paths) will be analyzed.
34       Otherwise, all configuration files will be analyzed. If the command
35       line argument is not given at all, all configuration files will be
36       analyzed. See below for some examples.
37

OPTIONS

39       The following options are understood:
40
41       -t, --type=
42           When listing the differences, only list those that are asked for.
43           The list itself is a comma-separated list of desired difference
44           types.
45
46           Recognized types are:
47
48           masked
49               Show masked files
50
51           equivalent
52               Show overridden files that while overridden, do not differ in
53               content.
54
55           redirected
56               Show files that are redirected to another.
57
58           overridden
59               Show overridden, and changed files.
60
61           extended
62               Show *.conf files in drop-in directories for units.
63
64           unchanged
65               Show unmodified files too.
66
67
68       --diff=
69           When showing modified files, when a file is overridden show a diff
70           as well. This option takes a boolean argument. If omitted, it
71           defaults to true.
72
73       -h, --help
74           Print a short help text and exit.
75
76       --version
77           Print a short version string and exit.
78
79       --no-pager
80           Do not pipe output into a pager.
81

EXAMPLES

83       To see all local configuration:
84
85           systemd-delta
86
87       To see all runtime configuration:
88
89           systemd-delta /run
90
91       To see all system unit configuration changes:
92
93           systemd-delta systemd/system
94
95       To see all runtime "drop-in" changes for system units:
96
97           systemd-delta --type=extended /run/systemd/system
98

EXIT STATUS

100       On success, 0 is returned, a non-zero failure code otherwise.
101

SEE ALSO

103       systemd(1), systemd.unit(5)
104
105
106
107systemd 245                                                   SYSTEMD-DELTA(1)
Impressum