]> git.ipfire.org Git - thirdparty/systemd.git/commit
pid1: drop unit caches only based on mtime
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 10 Jul 2019 16:01:13 +0000 (18:01 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 30 Jul 2019 12:01:46 +0000 (14:01 +0200)
commit91e0ee5f16321656ed6f827742ecbeb2b36027f2
tree41f3b5b389f8e6353b5e8bfb34272add25b10385
parente67cd21d7d174cdafd12beca4cfb6e19e61f6fb5
pid1: drop unit caches only based on mtime

v2:
- do not watch mtime of transient and generated dirs

  We'd reload the map after every transient unit we created, which we don't
  need to do, since we create those units ourselves and know their fragment
  path.
src/analyze/analyze.c
src/core/load-fragment.c
src/core/manager.c
src/core/manager.h
src/shared/unit-file.c
src/shared/unit-file.h
src/systemctl/systemctl.c
src/test/test-unit-file.c