05a3e2bad9
Allows to notify systemd whether kwin is still running and possibly restart the service if it stops responding. Use Type=notify-reload to watch the kwin service. This will make it so we receive SIGHUP rather than SIGTERM on the wrapper which we can handle gracefully and stop the kwin process and restart as expected. https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html Signed-off-by: Victoria Fischer <victoria.fischer@mbition.io>
12 lines
273 B
SYSTEMD
12 lines
273 B
SYSTEMD
[Unit]
|
|
Description=KDE Window Manager
|
|
PartOf=graphical-session.target
|
|
|
|
[Service]
|
|
Type=notify-reload
|
|
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kwin_wayland_wrapper --xwayland
|
|
BusName=org.kde.KWinWrapper
|
|
Slice=session.slice
|
|
WatchdogSec=15s
|
|
NotifyAccess=all
|
|
WatchdogSignal=SIGHUP
|