diff --git a/roles/yavdr-xorg/templates/systemd/user/wm-exit.service.j2 b/roles/yavdr-xorg/templates/systemd/user/wm-exit.service.j2 new file mode 100644 index 0000000..bda6c0a --- /dev/null +++ b/roles/yavdr-xorg/templates/systemd/user/wm-exit.service.j2 @@ -0,0 +1,10 @@ +[Unit] +Description=exit window manager gracefully + +[Service] +ExecStart=/bin/true +ExecStop=/usr/bin/openbox --exit +RemainAfterExit=True + +[Install] +WantedBy=default.target