mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 15:45:53 +01:00
The bootc-status-updated.target unit cannot directly be WantedBy=multi-user.target, because we rely on StopWhenUnneeded=true so the target will be activated each time bootc-status-updated.path triggers it. Because multi-user.target remains active, this would hold bootc-status-updated.target in an active state as well, and the path unit activating would not have the desired effect of retriggering the target unit. The new bootc-status-updated-onboot.target is intended to serve the same purpose as bootc-status-updated.target but will activate (and remain active) on boot. Any interested units should be WantedBy both targets. This updates bootc-publish-rhsm-facts.service to do just that. Signed-off-by: John Eckersberg <jeckersb@redhat.com>