X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Ffedora%2Fprefdm.service;h=51da6c77f1faa0a56f5e404b1b4a434a0bf7477a;hb=c9bc07646100855ff8193e1e62c52b77327e264d;hp=89a96be1c8885b4080b6f2235a3b8f557ebb4982;hpb=af65a09126e216d468592f069aee50dfe0382d3a;p=elogind.git diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service index 89a96be1c..51da6c77f 100644 --- a/units/fedora/prefdm.service +++ b/units/fedora/prefdm.service @@ -1,17 +1,21 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] Description=Display Manager -After=syslog.target dbus.target haldaemon.service +After=livesys-late.service rc-local.service systemd-user-sessions.service + +# On Fedora gdm/X11 is on tty1. We explicitly cancel the getty here to +# avoid any races around that. +Conflicts=getty@tty1.service plymouth-quit.service +After=getty@tty1.service plymouth-quit.service [Service] ExecStart=/etc/X11/prefdm -nodaemon - -[Install] -Alias=display-manager.service -WantedBy=graphical.target +Restart=always +RestartSec=0 +IgnoreSIGPIPE=no