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>
Sun, 10 Nov 2019 23:58:41 +0000 (23:58 +0000)
commitf759a5d49754f01b395824ba466189fbc4bc20fc
tree8f98f50a98b5b2b6aa88ea086b4a937bffb99876
parent5b4e3be7119cf556e6c16fba1a0caa2157deb7c9
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