Merge pull request #14796 from omacom/fix/user-units-not-shipped

Enable first-run units one at a time, and test that units are shipped
This commit is contained in:
Emir Beganović authored and GitHub committed 2026-10-10 02:43:32 +02:00
commit 7cc6a55f24
3 files changed
+71 -2

No files matched your search

+9 -2
View File
@@ -12,7 +12,11 @@
set -euo pipefail
systemctl --user daemon-reload
systemctl --user enable --now \
# One at a time: given a list, systemctl enables none of it when it cannot find
# one unit, and that should not cost the session its bluetooth agent as well.
failed=0
for unit in \
bt-agent.service \
owed.service \
omarchy-recover-internal-monitor.service \
@@ -21,6 +25,9 @@ systemctl --user enable --now \
omarchy-fcitx5.service \
omarchy-crash-watch.service \
omarchy-usb-authorization.service \
omarchy-thunderbolt-authorization.service
omarchy-thunderbolt-authorization.service; do
systemctl --user enable --now "$unit" || failed=1
done
omarchy-hook-install theme-set /usr/share/owe/10-owe-sync
exit "$failed"