]> git.ipfire.org Git - thirdparty/systemd.git/commit
unit: update unit dropin paths and time when dropin file is written.
authorWaLyong Cho <walyong.cho@samsung.com>
Tue, 9 Dec 2014 12:46:30 +0000 (21:46 +0900)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Dec 2014 17:24:26 +0000 (18:24 +0100)
commitadb76a701d870b980f7949bcfece2c1547b4976d
tree2739b6286843fe7215324f72169def2a7a8232b8
parentdd5ae4c36c89da5dbe8d1628939b26c00db98753
unit: update unit dropin paths and time when dropin file is written.

If a unit is set property by "systemctl set-property", a new dropin
file is generated. But the unit's dropin_paths and dropin_mtime are
not updated. So the unit is shown as need daemon reload.
Update unit dropin_paths and dropin_mtime also when dropin file is
written.
src/core/unit.c