units: add conflicts between prefdm and getty@tty1 to avoid race for tty1

This commit is contained in:
Lennart Poettering 2010-08-03 23:53:17 +02:00
parent 56cf987fe7
commit a48bcc46be

View File

@ -9,6 +9,10 @@
Description=Display Manager Description=Display Manager
After=syslog.target haldaemon.service After=syslog.target haldaemon.service
# On Fedora gdm/X11 is on tty1. We explicitly cancel the getty here to
# avoid any races around that.
Conflicts=getty@tty1.service
[Service] [Service]
ExecStart=/etc/X11/prefdm -nodaemon ExecStart=/etc/X11/prefdm -nodaemon