[gnome-shell/benzea/systemd-3.36-units: 10/10] data: Place the shell into session.slice when using systemd




commit b689b35b7ddfd783cd08d5f506ccc83093379197
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]