summaryrefslogtreecommitdiff
path: root/system/display-manager-run.service
blob: eda918fa48167e8cdf71a41260757a4182230ce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Xorg display daemon

[Service]
#User=display
Restart=always
RestartSec=10
Type=forking
ExecStart=/usr/bin/Xorg -logfile /var/log/Xorg.0.log
#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 

[Install]
WantedBy=graphical.target