[gnome-shell/benzea/systemd-3.36-units] data: Place the shell into session.slice when using systemd
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/benzea/systemd-3.36-units] data: Place the shell into session.slice when using systemd
- Date: Wed, 29 Jul 2020 15:03:59 +0000 (UTC)
commit f0c943996f94bad4ca4100e823e7a997b8227d22
Author: Benjamin Berg <bberg redhat com>
Date: Wed Jul 29 16:59:32 2020 +0200
data: Place the shell into session.slice when using systemd
This way we conform more to https://systemd.io/DESKTOP_ENVIRONMENTS
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/895
data/org gnome Shell wayland service in | 1 +
data/org gnome Shell x11 service in | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/data/org gnome Shell wayland service in b/data/org gnome Shell wayland service in
index 28ef7154db..427e3c8072 100644
--- a/data/org gnome Shell wayland service in
+++ b/data/org gnome Shell wayland service in
@@ -14,6 +14,7 @@ PartOf=gnome-session-initialized.target
Before=gnome-session-initialized.target
[Service]
+Slice=session.slice
Type=notify
# NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I
# with systemd >= 245. Also, the current solution is kind of painful
diff --git a/data/org gnome Shell x11 service in b/data/org gnome Shell x11 service in
index be2d1ff912..a70f249095 100644
--- a/data/org gnome Shell x11 service in
+++ b/data/org gnome Shell x11 service in
@@ -18,6 +18,7 @@ StartLimitIntervalSec=15s
StartLimitBurst=3
[Service]
+Slice=session.slice
Type=notify
# NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I
# with systemd >= 245. Also, the current solution is kind of painful
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]