Platform Team/Server Kit/Mace: Difference between revisions
No edit summary |
|||
| Line 16: | Line 16: | ||
[<arbitrary-path>]/<service-name>.d/[<service-confile>]/<configuration-file>.conf | [<arbitrary-path>]/<service-name>.d/[<service-confile>]/<configuration-file>.conf | ||
The {{Code|service-confile}} is optional and makes sense only if the configured service has several of them, e.g., Bind, or, if singular configuration file was split | The {{Code|service-confile}} is optional and makes sense only if the configured service has several of them, e.g., Bind, or, if a singular configuration file was split at the Mace level into several parts to make it easy to configure, e.g., per IPTables table {{Code|service-confile}}s. The {{Code|configuration-file}} is a configuration file in a particular service configuration's syntax. All {{Code|configuration-file}} files will be merged by mace to the singular {{Code|service-confile}} file and placed in the appropriate distribution-specific directory. | ||
The purpose in having {{Code|arbitrary-path}} is that there might be several directories with the same {{Code|service-name}}s to make the configuration more flexible, i.e., it allows having several high-level configuration components in a project that configure the same service. Subsequent configuration might: | The purpose in having {{Code|arbitrary-path}} is that there might be several directories with the same {{Code|service-name}}s to make the configuration more flexible, i.e., it allows having several high-level configuration components in a project that configure the same service. Subsequent configuration might: | ||