Commit b470c06f authored by David Edmundson's avatar David Edmundson Committed by Henri Chain
Browse files

Explicitly scope units to graphical-session.target

This means on logout we'll be gracefully closed down.

All of these are closing down properly anyway, but this makes things a
bit more explicit in case you managed to log out at an awkward point.
parent 2b9382f4
[Unit] [Unit]
Description=Proxies GTK DBus menus to a Plasma readable format Description=Proxies GTK DBus menus to a Plasma readable format
PartOf=graphical-session.target
[Service] [Service]
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/gmenudbusmenuproxy ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/gmenudbusmenuproxy
......
[Unit] [Unit]
Description=KRunner Description=KRunner
PartOf=graphical-session.target
[Service] [Service]
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/krunner ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/krunner
......
[Unit] [Unit]
Description=KDE Session Management Server Description=KDE Session Management Server
Wants=plasma-kcminit.service Wants=plasma-kcminit.service
PartOf=graphical-session.target
[Service] [Service]
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/ksmserver ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/ksmserver
......
[D-BUS Service] [D-BUS Service]
Name=org.kde.runners.baloo Name=org.kde.runners.baloo
Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/baloorunner Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/baloorunner
PartOf=graphical-session.target
[Unit] [Unit]
Description=KDE Plasma Workspace Description=KDE Plasma Workspace
Wants=plasma-ksmserver.service plasma-kcminit.service Wants=plasma-ksmserver.service plasma-kcminit.service
PartOf=graphical-session.target
[Service] [Service]
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/plasmashell --no-respawn ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/plasmashell --no-respawn
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
Description=KDE Configuration Module Initialization (Phase 1) Description=KDE Configuration Module Initialization (Phase 1)
Requires=plasma-kcminit.service Requires=plasma-kcminit.service
After=plasma-kcminit.service plasma-kded.service After=plasma-kcminit.service plasma-kded.service
PartOf=graphical-session.target
[Service] [Service]
Type=oneshot Type=oneshot
......
[Unit] [Unit]
Description=KDE Config Module Initialization Description=KDE Config Module Initialization
PartOf=graphical-session.target
[Service] [Service]
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kcminit_startup ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kcminit_startup
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
Description=KSplash "ready" Stage Description=KSplash "ready" Stage
Wants=plasma-core.target Wants=plasma-core.target
After=plasma-core.target After=plasma-core.target
PartOf=graphical-session.target
[Service] [Service]
Type=oneshot Type=oneshot
......
[Unit] [Unit]
Description=Handle legacy xembed system tray icons Description=Handle legacy xembed system tray icons
PartOf=graphical-session.target
[Service] [Service]
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/xembedsniproxy ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/xembedsniproxy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment