summaryrefslogtreecommitdiffstats
path: root/source/configuration/global/options/rsconf1_moddir.rst
blob: c1fa503a15a56d5b613de7612b3ca3b953c175ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$ModDir
-------

**Type:** global configuration parameter

**Default:** system default for user libraries, e.g.
/usr/local/lib/rsyslog/

**Description:**

Provides the default directory in which loadable modules reside. This
may be used to specify an alternate location that is not based on the
system default. If the system default is used, there is no need to
specify this parameter. Please note that it is vitally important to end
the path name with a slash, else module loads will fail.

**Sample:**

``$ModDir /usr/rsyslog/libs/  # note the trailing slash!``