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>
Fri, 15 Nov 2019 21:01:17 +0000 (21:01 +0000)
commit7f4be0ac78e4f34398db94b199b521199695eebe
tree842a8ddea948f43beeab0f9665beee0103a402b7
parent48b18f5b3fe35e44ee5239a5dfdc0754c1ba9d42
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