Skip to content

Commit 4efcf52

Browse files
committed
bootc-status-updated: Add ConditionPathExists=/run/ostree-booted
This is a general best practice for our units to ensure they don't apply outside of bootc systems. Signed-off-by: Colin Walters <[email protected]>
1 parent cb10398 commit 4efcf52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

systemd/bootc-status-updated.path

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[Unit]
22
Description=Monitor bootc for status changes
33
Documentation=man:bootc-status-updated.path(8)
4+
ConditionPathExists=/run/ostree-booted
45

56
[Path]
67
PathChanged=/ostree/bootc

0 commit comments

Comments
 (0)