aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/lightdm.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lightdm/lightdm.initd')
-rwxr-xr-xtesting/lightdm/lightdm.initd10
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/lightdm/lightdm.initd b/testing/lightdm/lightdm.initd
index 5ecac484c2..6de51487e5 100755
--- a/testing/lightdm/lightdm.initd
+++ b/testing/lightdm/lightdm.initd
@@ -1,15 +1,15 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
depend() {
need localmount dbus
}
-description="Lightweigh display manager"
-command="/usr/sbin/lightdm"
+description="Lightweight Display Manager"
+command="/usr/bin/lightdm"
command_background="yes"
-pidfile="/var/run/lightdm.pid"
+pidfile="/run/lightdm.pid"
start_pre() {
- checkpath --owner lightdm:lightdm --directory /var/run/lightdm
+ checkpath --owner lightdm:lightdm --directory /run/lightdm
}