Advertisement
Guest User

GDM3 Service file

a guest
May 20th, 2021
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. ### Editing /etc/systemd/system/gdm.service.d/override.conf
  2. ### Anything between here and the comment below will become the new contents of the file
  3.  
  4. ###Lines below this comment will be discarded
  5.  
  6. ### /lib/systemd/system/gdm.service
  7. [Unit]
  8. Description=GNOME Display Manager
  9.  
  10. # replaces the getty
  11.  
  12. # replaces plymouth-quit since it quits plymouth on its own
  13. Conflicts=plymouth-quit.service
  14. After=plymouth-quit.service
  15.  
  16. # Needs all the dependencies of the services it's replacing
  17. # pulled from [email protected] and plymouth-quit.service
  18. # (except for plymouth-quit-wait.service since it waits until
  19. # plymouth is quit, which we do)
  20. After=rc-local.service plymouth-start.service systemd-user-sessions.service
  21.  
  22. # GDM takes responsibility for stopping plymouth, so if it fails
  23. # for any reason, make sure plymouth still stops
  24. OnFailure=plymouth-quit.service
  25.  
  26. [Service]
  27. ExecStartPre=/usr/share/gdm/generate-config
  28. ExecStart=/usr/sbin/gdm3
  29. KillMode=mixed
  30. Restart=always
  31. RestartSec=1s
  32. IgnoreSIGPIPE=no
  33. BusName=org.gnome.DisplayManager
  34. EnvironmentFile=-/etc/default/locale
  35. ExecReload=/usr/share/gdm/generate-config
  36. ExecReload=/bin/kill -SIGHUP $MAINPID
  37. KeyringMode=shared
  38.  
  39. ### Lines below this comment will be discarded
  40.  
  41. ### /lib/systemd/system/gdm.service
  42. # [Unit]
  43. # Description=GNOME Display Manager
  44. #
  45. # # replaces the getty
  46. #
  47. # # replaces plymouth-quit since it quits plymouth on its own
  48. # Conflicts=plymouth-quit.service
  49. # After=plymouth-quit.service
  50. #
  51. # # Needs all the dependencies of the services it's replacing
  52. # # pulled from [email protected] and plymouth-quit.service
  53. # # (except for plymouth-quit-wait.service since it waits until
  54. # # plymouth is quit, which we do)
  55. # After=rc-local.service plymouth-start.service systemd-user-sessions.service
  56. #
  57. # # GDM takes responsibility for stopping plymouth, so if it fails
  58. # # for any reason, make sure plymouth still stops
  59. # OnFailure=plymouth-quit.service
  60. #
  61. # [Service]
  62. # ExecStartPre=/usr/share/gdm/generate-config
  63. # ExecStart=/usr/sbin/gdm3
  64. # KillMode=mixed
  65. # Restart=always
  66. # RestartSec=1s
  67. # IgnoreSIGPIPE=no
  68. # BusName=org.gnome.DisplayManager
  69. # EnvironmentFile=-/etc/default/locale
  70. # ExecReload=/usr/share/gdm/generate-config
  71. # ExecReload=/bin/kill -SIGHUP $MAINPID
  72. # KeyringMode=shared
  73.  
  74.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement