Skip to content

Commit f241aec

Browse files
tunaichaoZeno-sole
authored andcommitted
feat: bind obexd service lifecycle to graphical session
Added PartOf=graphical-session.target to obexd.service to ensure obexd exits immediately upon user logout from graphical session. 适配v25系统,修复obexd登出后未退出的问题 在 obexd.service 中添加 PartOf=graphical-session.target,确保 用户登出图形会话时 obexd 服务立即退出,避免会话残留
1 parent 1635d12 commit f241aec

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
bluez (5.85-3deepin6) unstable; urgency=medium
2+
3+
* Obexd exits immediately upon logout.
4+
5+
-- tunaichao <tunaichao@uniontech.com> Wed, 18 Mar 2026 14:08:05 +0800
6+
17
bluez (5.85-3deepin5) unstable; urgency=medium
28

39
* fix: Fix main conf for connection.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Index: bluez/obexd/src/obex.service.in
2+
===================================================================
3+
--- bluez.orig/obexd/src/obex.service.in
4+
+++ bluez/obexd/src/obex.service.in
5+
@@ -1,5 +1,6 @@
6+
[Unit]
7+
Description=Bluetooth OBEX service
8+
+PartOf=graphical-session.target
9+
10+
[Service]
11+
Type=dbus

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ main.conf.patch
1313
uniontech-add-custom-config-for-huawei.patch
1414
uniontech-add-sh-for-debug.patch
1515
deepin-bug282163-Fix-main-conf-for-connection.patch
16+
deepin-bug321717-Obexd-exits-immediately-upon-logout.patch

0 commit comments

Comments
 (0)