spacepaste

  1.  
  2. # /lib/systemd/system/gdm.service
  3. [Unit]
  4. Description=GNOME Display Manager
  5. # replaces the getty
  6. Conflicts=getty@tty7.service
  7. After=getty@tty7.service
  8. # replaces plymouth-quit since it quits plymouth on its own
  9. Conflicts=
  10. After=
  11. # Needs all the dependencies of the services it's replacing
  12. # pulled from getty@.service and
  13. # (except for plymouth-quit-wait.service since it waits until
  14. # plymouth is quit, which we do)
  15. After=rc-local.service plymouth-start.service systemd-user-sessions.service
  16. # GDM takes responsibility for stopping plymouth, so if it fails
  17. # for any reason, make sure plymouth still stops
  18. OnFailure=plymouth-quit.service
  19. [Service]
  20. ExecStart=/usr/sbin/gdm
  21. KillMode=mixed
  22. Restart=always
  23. IgnoreSIGPIPE=no
  24. BusName=org.gnome.DisplayManager
  25. StandardOutput=syslog
  26. StandardError=inherit
  27. EnvironmentFile=-/etc/locale.conf
  28. [Install]
  29. Alias=display-manager.service
  30.