path: stop watching path specs once we triggered the target unit
authorMichal Sekletar <msekleta@redhat.com>
Mon, 9 Sep 2019 12:38:35 +0000 (14:38 +0200)
committerMichael Biebl <biebl@debian.org>
Tue, 19 Nov 2019 08:17:12 +0000 (08:17 +0000)
commit643e3fa277cd77d7e7888297121e3e070659f367
tree249e43031d6c4dc4592f5191b3a85be9ff27298b
parent332a8e5b8080bfdcee1873e4691c26b4f2407282
path: stop watching path specs once we triggered the target unit

We start watching them again once we get a notification that triggered
unit entered inactive or failed state.

Fixes: #10503
(cherry picked from commit 8fca6944c2ee20c63d62154c8badddc77170b176)
(cherry picked from commit b294305888da171f393bbb4c3dc0be332e8d50c1)

Gbp-Pq: Name path-stop-watching-path-specs-once-we-triggered-the-targe.patch
src/core/path.c