[systemd-devel] Prepend a number to the config file name
Lennart Poettering
lennart at poettering.net
Wed Sep 12 17:57:30 UTC 2018
On Mi, 12.09.18 14:08, Gervais, Francois (FGervais at distech-controls.com) wrote:
> Hi,
>
> I saw some systemd examples on the web (i.e. 20-wired.network) that use a number at the beginning
> of the config file name like we do for udev rules.
>
> In systemd there's a pretty good control over ordering already in the configuration
> itself so I'm not sure there would be a need to control the parsing order using file name tricks.
>
> Would you say it's advisable to use such prepended number in file names with systemd?
Yes, this is always a good idea. Order does matter for pretty much all
of systemd's unit files, and snippets might want to override/extend settings
made in other snippets.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list