aboutsummaryrefslogtreecommitdiffstats
path: root/community/lightdm/lightdm.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/lightdm/lightdm.initd')
-rwxr-xr-xcommunity/lightdm/lightdm.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/lightdm/lightdm.initd b/community/lightdm/lightdm.initd
new file mode 100755
index 0000000000..6de51487e5
--- /dev/null
+++ b/community/lightdm/lightdm.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+
+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
+}
+