BOOTC-STATU...DATED.TARGET(5)
π NAME π
bootc-status-updated.target β the lil systemd target bestie that fires off the moment your bootc status changes π
β¨ DESCRIPTION β¨
okay so listen. this unit is triggered by its companion unit, bootc-status-updated.path β that's the systemd unit that does the actual watching π They're a duo, they come as a package, no cap.
and what's it FOR? literally it exists so you can hook your own custom services onto it π«Ά Like, the whole point is that this target lets users add custom services that trigger as a result of bootc status changing. status shifts β your stuff runs β slay π
so if you've got a service that should wake up whenever bootc status changes, you don't hack anything together. you just tell your unit to get pulled in by this target. add this to your unit configuration to activate it when bootc status changes:
[Install]
WantedBy=bootc-status-updated.target
that's it. that's the whole vibe. drop those three lines into your unit file, run your enable/whatever, and your service is now lowkey riding shotgun on bootc status changes π
ngl this is giving "tiny unit, big energy" β it does basically nothing on its own, and that's the point, because you get to decide what happens next π
π SEE ALSO π
bootc(1)bootc-status-updated.path(5)
β VERSION β
v1.17.1
and that's a wrap bestie π¦ this little page came out of the File Formats Manual, and we're repping v1.17.1 β go forth and trigger your custom services, you're the main character now ππΈβ¨
π¦ where this page comes from
- fedora 43: bootc 1.17.1-1.fc43 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
- fedora 44: bootc 1.17.1-1.fc44 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms