From 9596bfcc42f31d4da4bc11b31cf829db9bedc641 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 6 Sep 2016 16:07:13 -0400 Subject: [PATCH] daemon: Fix ConditionPathExists location It needs to be under `[Unit]`. I noticed the systemd warning in my logs; not sure how this worked when I was testing it locally. Closes: #446 Approved by: jlebon --- src/daemon/rpm-ostreed.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/rpm-ostreed.service.in b/src/daemon/rpm-ostreed.service.in index 5fd5ad5d..a5602502 100644 --- a/src/daemon/rpm-ostreed.service.in +++ b/src/daemon/rpm-ostreed.service.in @@ -1,8 +1,8 @@ [Unit] Description=RPM OSTree Manager +ConditionPathExists=/ostree [Service] Type=dbus BusName=org.projectatomic.rpmostree1 ExecStart=@libexecdir@/rpm-ostreed -ConditionPathExists=/ostree