aboutsummaryrefslogtreecommitdiffstats
path: root/community/lightdm/lightdm.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/lightdm/lightdm.initd')
-rw-r--r--[-rwxr-xr-x]community/lightdm/lightdm.initd11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/lightdm/lightdm.initd b/community/lightdm/lightdm.initd
index 6de51487e5..db28a969f7 100755..100644
--- a/community/lightdm/lightdm.initd
+++ b/community/lightdm/lightdm.initd
@@ -1,14 +1,15 @@
#!/sbin/openrc-run
+supervisor=supervise-daemon
+
+name="Display Manager"
+description="Lightweight $name"
+
+command=/usr/bin/lightdm
depend() {
need localmount dbus
}
-description="Lightweight Display Manager"
-command="/usr/bin/lightdm"
-command_background="yes"
-pidfile="/run/lightdm.pid"
-
start_pre() {
checkpath --owner lightdm:lightdm --directory /run/lightdm
}