Systemd/src/xdg-autostart-generator
Lennart Poettering 4f9ff96a55 conf-parser: return mtime in config_parse() and friends
This is a follow-up for 9f83091e3c.

Instead of reading the mtime off the configuration files after reading,
let's do so before reading, but with the fd we read the data from. This
is not only cleaner (as it allows us to save one stat()), but also has
the benefit that we'll detect changes that happen while we read the
files.

This also reworks unit file drop-ins to use the common code for
determining drop-in mtime, instead of reading system clock for that.
2020-06-02 19:32:20 +02:00
..
xdg-autostart-condition.c xdg-autostart-generator: Add a generator for XDG autostart files 2020-05-27 09:02:10 +02:00
xdg-autostart-generator.c xdg-autostart-generator: Add a generator for XDG autostart files 2020-05-27 09:02:10 +02:00
xdg-autostart-service.c conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
xdg-autostart-service.h xdg-autostart-generator: Add a generator for XDG autostart files 2020-05-27 09:02:10 +02:00