Re: Prepend a number to the config file name

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

 



On Wed, Sep 12, 2018, 17:09 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?

networkd configurations don't work the same way as systemd units do. The .network files are matching-based, first-match-wins – so the order is important.

In general, .network files (and various other daemons' drop-in .conf files) are more similar to udev rules than to systemd units.
--

Mantas Mikulėnas

_______________________________________________
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