mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
This commit is contained in:
parent
01a927f388
commit
b689b35b7d
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue