Update systemd units
By marking as part of graphical-session we get a more graceful shutdown. Also switched to explicit restart inside the unit. Originally I did this with drop-ins, but this complicates wayland for now.
This commit is contained in:
parent
cd9acd2e41
commit
260e75f6c9
2 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
[Unit]
|
||||
Description=KDE Window Manager
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kwin_wayland
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
[Unit]
|
||||
Description=KDE Window Manager
|
||||
Wants=plasma-kcminit.service
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kwin_x11 --replace
|
||||
BusName=org.kde.KWin
|
||||
Slice=session.slice
|
||||
Restart=on-failure
|
||||
|
|
Loading…
Reference in a new issue