]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/graphical.target.m4
units: make sure that prefdm wins over the getty if both are pulled in
[thirdparty/systemd.git] / units / graphical.target.m4
CommitLineData
5e6afdd3
LP
1# This file is part of systemd.
2#
5e6afdd3
LP
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
5e6afdd3
LP
7
8# See systemd.special(7) for details
9
10[Unit]
11Description=Graphical Interface
12Requires=multi-user.target
13After=multi-user.target
50321ee3 14Conflicts=rescue.target
e6aad08b 15m4_dnl
5e6afdd3 16m4_ifdef(`TARGET_FEDORA',
14a35a84 17# On Fedora Runlevel 5 is graphical login
e6aad08b 18Names=runlevel5.target
14a35a84
LP
19# Pull in prefdm via requires, to make sure when it conflicts with
20# getty@tty1.service it takes precedence.
21Requires=prefdm.service
e6aad08b 22)m4_dnl
cfe243e3
KS
23m4_ifdef(`TARGET_SUSE',
24Names=runlevel5.target
25)m4_dnl
3d88bf66
LP
26
27[Install]
07405e90 28Alias=default.target m4_ifdef(`TARGET_FEDORA', runlevel5.target)