From e20829a913c1fde8761f774457c9357c23ade76f Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Mon, 31 Jul 2017 12:24:20 +0200 Subject: [PATCH] add wm-exit.service to the user session --- .../templates/systemd/user/wm-exit.service.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 roles/yavdr-xorg/templates/systemd/user/wm-exit.service.j2 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