Search code examples
linuxconfigurationrsyslog

Linux configuration files names with numbers


I just wonder why some tools have default configuration files with numbers in their names.

For example: 50-default.conf (for rsyslog).

What's the reason for this number and what does it mean ?


Solution

  • These numbers are for config file ordering and precedence. I.e. if the same parameter configuration is present in 10-smth.conf and 20-smth.conf the latter will overwrite first one.