summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-18 17:14:32 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-18 17:14:32 +0100
commit258be0e21e890d629f2d1d74bef6a8758a25d9aa (patch)
tree4eb6cdaf637fa17a18b43f9b07b44a30b9c9e7d9
parentb9729e50692f43a0153b904858146ee7851272d6 (diff)
downloadlightdm-258be0e21e890d629f2d1d74bef6a8758a25d9aa.tar.gz
Fix systemd service for first boot
-rw-r--r--lightdm.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/lightdm.service b/lightdm.service
index ae142097..9a8d5fbc 100644
--- a/lightdm.service
+++ b/lightdm.service
@@ -9,6 +9,7 @@ BusName=org.freedesktop.DisplayManager
# We should do this during the install, but currently the user only
# exists in the target system and not the build environment due to
# the staging fillers being primitive.
+ExecStartPre=/bin/mkdir -p /var/run/lightdm
ExecStartPre=/bin/chown lightdm /var/run/lightdm
ExecStart=/usr/sbin/lightdm