1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 15:45:53 +01:00
Files
bootc/systemd/bootc-status-updated.path
Colin Walters 4efcf52b53 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 <walters@verbum.org>
2025-01-06 15:30:23 -05:00

12 lines
243 B
SYSTEMD

[Unit]
Description=Monitor bootc for status changes
Documentation=man:bootc-status-updated.path(8)
ConditionPathExists=/run/ostree-booted
[Path]
PathChanged=/ostree/bootc
Unit=bootc-status-updated.target
[Install]
WantedBy=multi-user.target