summary refs log tree commit diff
path: root/services/lightdm/run
diff options
context:
space:
mode:
Diffstat (limited to 'services/lightdm/run')
-rwxr-xr-x[-rw-r--r--]services/lightdm/run5
1 files changed, 4 insertions, 1 deletions
diff --git a/services/lightdm/run b/services/lightdm/run
index ab610ea..0615cd9 100644..100755
--- a/services/lightdm/run
+++ b/services/lightdm/run
@@ -1,2 +1,5 @@
 #!/bin/sh
-exec /sbin/lightdm
\ No newline at end of file
+[ ! -d /run/lightdm ] && mkdir -p /run/lightdm
+chmod 0711 /run/lightdm
+chown lightdm:lightdm /run/lightdm
+exec lightdm