39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From ccebd5e41abd9526ba9ed57cff2d0fe13ee3bc12 Mon Sep 17 00:00:00 2001
|
|
From: leeffo <liweiganga@uniontech.com>
|
|
Date: Mon, 31 Jul 2023 11:44:25 +0800
|
|
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 38fcda1..fbc0fc5 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 71797e7..33604c6 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
|
|
Conflicts=shutdown.target
|
|
Before=shutdown.target
|
|
--
|
|
2.20.1
|
|
|