Re: Prepend a number to the config file name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mi, 12.09.18 14:08, Gervais, Francois (FGervais@xxxxxxxxxxxxxxxxxxxx) 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
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux