-
- # /lib/systemd/system/gdm.service
- [Unit]
- Description=GNOME Display Manager
-
- # replaces the getty
- Conflicts=getty@tty7.service
- After=getty@tty7.service
-
- # replaces plymouth-quit since it quits plymouth on its own
- Conflicts=
- After=
-
- # Needs all the dependencies of the services it's replacing
- # pulled from getty@.service and
- # (except for plymouth-quit-wait.service since it waits until
- # plymouth is quit, which we do)
- After=rc-local.service plymouth-start.service systemd-user-sessions.service
-
- # GDM takes responsibility for stopping plymouth, so if it fails
- # for any reason, make sure plymouth still stops
- OnFailure=plymouth-quit.service
-
- [Service]
- ExecStart=/usr/sbin/gdm
- KillMode=mixed
- Restart=always
- IgnoreSIGPIPE=no
- BusName=org.gnome.DisplayManager
- StandardOutput=syslog
- StandardError=inherit
- EnvironmentFile=-/etc/locale.conf
-
- [Install]
- Alias=display-manager.service
-