39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From 39f7d59f412d01f21737a2a0c14306c4c5132a49 Mon Sep 17 00:00:00 2001
|
|
From: heyitao <heyitao@uniontech.com>
|
|
Date: Fri, 10 Mar 2023 03:21:55 -0500
|
|
Subject: [PATCH] fix:https://gitee.com/src-openeuler/dde-api/issues/I6HXVH
|
|
|
|
---
|
|
misc/systemd/system/deepin-login-sound.service | 2 +-
|
|
misc/systemd/system/deepin-shutdown-sound.service | 3 ++-
|
|
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/misc/systemd/system/deepin-login-sound.service b/misc/systemd/system/deepin-login-sound.service
|
|
index 35c8671..4f1d533 100644
|
|
--- a/misc/systemd/system/deepin-login-sound.service
|
|
+++ b/misc/systemd/system/deepin-login-sound.service
|
|
@@ -1,6 +1,6 @@
|
|
[Unit]
|
|
Description=Deepin login sound
|
|
-Requires=sound.target
|
|
+Wants=sound.target
|
|
After=dbus.service lightdm.service
|
|
|
|
[Service]
|
|
diff --git a/misc/systemd/system/deepin-shutdown-sound.service b/misc/systemd/system/deepin-shutdown-sound.service
|
|
index bfb313c..4bc5665 100644
|
|
--- a/misc/systemd/system/deepin-shutdown-sound.service
|
|
+++ b/misc/systemd/system/deepin-shutdown-sound.service
|
|
@@ -1,6 +1,7 @@
|
|
[Unit]
|
|
Description=Deepin shutdown sound
|
|
-Requisite=sound.target local-fs.target
|
|
+Requisite=local-fs.target
|
|
+Wants=sound.target
|
|
After=sound.target local-fs.target
|
|
Before=systemd-logind.service
|
|
|
|
--
|
|
2.18.2
|
|
|