about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-03 17:36:57 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-03 17:36:57 +0200
commit0ab9a997678c4e91e6824912d667f519ede1da97 (patch)
treef312de7e2dfe264f0f36a161644f010d855b1105 /services
parent471d92135b044bc32e5d7488727d6e2ec9118b79 (diff)
downloadrunit-void-0ab9a997678c4e91e6824912d667f519ede1da97.tar.gz
runit-void-0ab9a997678c4e91e6824912d667f519ede1da97.tar.xz
runit-void-0ab9a997678c4e91e6824912d667f519ede1da97.zip
Fix lightdm service to work correctly.
Diffstat (limited to 'services')
-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