diff options
author | Juan RP <xtraeme@gmail.com> | 2014-08-03 17:36:57 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-08-03 17:36:57 +0200 |
commit | 0ab9a997678c4e91e6824912d667f519ede1da97 (patch) | |
tree | f312de7e2dfe264f0f36a161644f010d855b1105 /services | |
parent | 471d92135b044bc32e5d7488727d6e2ec9118b79 (diff) | |
download | runit-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/run | 5 |
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 |