diff --git a/systemd/bootc-publish-rhsm-facts.service b/systemd/bootc-publish-rhsm-facts.service new file mode 100644 index 00000000..6520ebd1 --- /dev/null +++ b/systemd/bootc-publish-rhsm-facts.service @@ -0,0 +1,11 @@ +[Unit] +Description=Publish bootc facts to Red Hat Subscription Manager +Documentation=man:bootc(8) +ConditionPathExists=/etc/rhsm/facts + +[Service] +Type=oneshot +ExecStart=/usr/bin/bootc internals publish-rhsm-facts + +[Install] +WantedBy=bootc-status-updated.target