units: add conflicts between prefdm and getty@tty1 to avoid race for tty1
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
Description=Display Manager
|
||||
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]
|
||||
ExecStart=/etc/X11/prefdm -nodaemon
|
||||
|
||||
|
||||
Reference in New Issue
Block a user