X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Ffedora%2Fprefdm.service;h=32ceb9aa8ffa9cacfa2e4536767f91bdc1b8f185;hb=ce726252a9a9487a694cbd68f4d13542ba965258;hp=7df09ac84d09e8e1f760d48acc82fbf97a57528b;hpb=e6aad08ba82e44e88f9186eab30c68ceaf6370a3;p=elogind.git diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service index 7df09ac84..32ceb9aa8 100644 --- a/units/fedora/prefdm.service +++ b/units/fedora/prefdm.service @@ -1,25 +1,24 @@ # This file is part of systemd. # -# Copyright 2010 Lennart Poettering -# # 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 # (at your option) any later version. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with systemd; If not, see . [Unit] Description=Display Manager -Before=graphical.target -After=basic.target syslog.target messagebus.service haldaemon.service +After=syslog.target livesys-late.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 -Type=simple +Restart=always +RestartSec=0 + +[Install] +Alias=display-manager.service +WantedBy=graphical.target