chiark / gitweb /
units: make sure prefdm is automatically respawned
[elogind.git] / units / fedora / prefdm.service
1 #  This file is part of systemd.
2 #
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.
7
8 [Unit]
9 Description=Display Manager
10 After=syslog.target livesys-late.service
11
12 # On Fedora gdm/X11 is on tty1. We explicitly cancel the getty here to
13 # avoid any races around that.
14 Conflicts=getty@tty1.service plymouth-quit.service
15
16 [Service]
17 ExecStart=/etc/X11/prefdm -nodaemon
18 Restart=restart-always
19 RestartSec=0
20
21 [Install]
22 Alias=display-manager.service
23 WantedBy=graphical.target