Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: will cause kde to fail to start #67

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Before=dde-session-initialized.target
[Service]
Type=dbus
BusName=org.freedesktop.Notifications
ExecCondition=/bin/sh -c 'test "$XDG_CURRENT_DESKTOP" = "DDE" || exit 2'
ExecStart=/usr/lib/deepin-daemon/dde-osd
TimeoutStartSec=infinity
Slice=session.slice
Expand Down
4 changes: 2 additions & 2 deletions systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ PartOf=graphical-session.target

[Service]
Slice=session.slice
BusName=org.kde.KWinWrapper
Type=dbus
Type=simple
# NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I in
# the [Unit] section with systemd >= 246. Also, the current solution is
# kind of painful as systemd had a bug where it retries the condition.
Expand All @@ -36,3 +35,4 @@ ExecStopPost=-/bin/sh -c 'test "$SERVICE_RESULT" != "exec-condition" && systemct
Restart=no
# Kill any stubborn child processes after this long
TimeoutStopSec=5
TimeoutStartSec=infinity
4 changes: 2 additions & 2 deletions systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ StartLimitBurst=1

[Service]
Slice=session.slice
BusName=org.kde.KWin
Type=dbus
Type=simple
# NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I in
# the [Unit] section with systemd >= 246. Also, the current solution is
# kind of painful as systemd had a bug where it retries the condition.
Expand All @@ -41,3 +40,4 @@ Restart=always
RestartSec=0ms
# Kill any stubborn child processes after this long
TimeoutStopSec=5
TimeoutStartSec=infinity