summaryrefslogtreecommitdiff
path: root/system/display-manager-run.service
diff options
context:
space:
mode:
Diffstat (limited to 'system/display-manager-run.service')
-rw-r--r--system/display-manager-run.service15
1 files changed, 7 insertions, 8 deletions
diff --git a/system/display-manager-run.service b/system/display-manager-run.service
index 52e0231..679b8a0 100644
--- a/system/display-manager-run.service
+++ b/system/display-manager-run.service
@@ -1,17 +1,16 @@
[Unit]
Description=Xorg display daemon
+Requires=dbus.service
+After=dbus.service
[Service]
-#User=display
+Type=notify
Restart=always
RestartSec=10
-ExecStart=/usr/bin/Xorg -logfile /var/log/Xorg.0.log -noreset -configdir /etc/X11/xorg.conf.d
-#StandardInput=tty
-#TTYPath=/dev/tty7
-
-#adding the capability to configure ttys
-#may be needed if the user 'display' doesn't own the tty
-#CapabilityBoundingSet=CAP_SYS_TTY_CONFIG
+EnvironmentFile=-/etc/sysconfig/xorg
+ExecStart=/usr/bin/xorg-launch-helper $OPTIONS
+StandardInput=tty
+TTYPath=/dev/tty7
[Install]
WantedBy=graphical.target