diff options
Diffstat (limited to 'testing/lightdm/lightdm.initd')
-rwxr-xr-x | testing/lightdm/lightdm.initd | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/lightdm/lightdm.initd b/testing/lightdm/lightdm.initd index 4e560c3fcc..1f04573aca 100755 --- a/testing/lightdm/lightdm.initd +++ b/testing/lightdm/lightdm.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -depends() { - needs localmount dbus +depend() { + need localmount dbus } description="Lightweigh display manager" @@ -9,3 +9,7 @@ command="/usr/sbin/lightdm" command_background="yes" pidfile="/var/run/lightdm.pid" +start_pre() { + checkpath --owner lighdm:lightdm --directory /var/run/lightdm +} + |