aboutsummaryrefslogtreecommitdiffstats
path: root/main/xdm/xdm.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/xdm/xdm.initd')
-rw-r--r--[-rwxr-xr-x]main/xdm/xdm.initd14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/xdm/xdm.initd b/main/xdm/xdm.initd
index e3fc6144166..7e13d5a085e 100755..100644
--- a/main/xdm/xdm.initd
+++ b/main/xdm/xdm.initd
@@ -1,13 +1,17 @@
#!/sbin/openrc-run
-depends() {
- needs localmount
-}
+supervisor=supervise-daemon
+name="Display Manager"
description="X Display Manager"
-command="/usr/bin/xdm"
+
+command=/usr/bin/xdm
command_args="${xdm_opts}"
-pidfile="/var/run/xdm.pid"
+command_args_foreground="-nodaemon"
+
+depends() {
+ needs localmount
+}
# uses the openrc templates for start()/stop()