create mango-session.target

This commit is contained in:
Ray Elliott 2026-03-04 19:58:39 +00:00
commit e7b71de3d8
14 changed files with 137 additions and 8 deletions

View file

@ -1,5 +1,10 @@
# Blueman is attached to mango-session.target so it does not start during
# early default.target boot, where WAYLAND_DISPLAY may be missing and start-pre
# can hang until timeout.
[Unit]
Description=Blueman Applet
StartLimitIntervalSec=0
PartOf=mango-session.target
[Service]
Type=simple
@ -7,7 +12,6 @@ ExecStartPre=/usr/bin/sh -c 'until [ -n "$WAYLAND_DISPLAY" ] && [ -S "$XDG_RUNTI
ExecStart=/usr/bin/blueman-applet
Restart=on-failure
RestartSec=2
StartLimitIntervalSec=0
[Install]
WantedBy=default.target
WantedBy=mango-session.target