summary refs log tree commit diff
path: root/os/etc/s6-rc/src/desktop-session-running/down
diff options
context:
space:
mode:
Diffstat (limited to 'os/etc/s6-rc/src/desktop-session-running/down')
-rw-r--r--os/etc/s6-rc/src/desktop-session-running/down6
1 files changed, 6 insertions, 0 deletions
diff --git a/os/etc/s6-rc/src/desktop-session-running/down b/os/etc/s6-rc/src/desktop-session-running/down
new file mode 100644
index 0000000..aa46989
--- /dev/null
+++ b/os/etc/s6-rc/src/desktop-session-running/down
@@ -0,0 +1,6 @@
+#!/bin/execlineb -P
+
+importas -D "/run" XDG_RUNTIME_DIR XDG_RUNTIME_DIR
+define dir ${XDG_RUNTIME_DIR}/session-env
+
+foreground { rm -rf ${dir} }