Advertisement
Guest User

GDM3 Service file

a guest
May 20th, 2021
116
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. Conflicts=getty@tty1.service
  12. After=getty@tty1.service
  13.  
  14. # replaces plymouth-quit since it quits plymouth on its own
  15. Conflicts=plymouth-quit.service
  16. After=plymouth-quit.service
  17.  
  18. # Needs all the dependencies of the services it's replacing
  19. # pulled from getty@.service and plymouth-quit.service
  20. # (except for plymouth-quit-wait.service since it waits until
  21. # plymouth is quit, which we do)
  22. After=rc-local.service plymouth-start.service systemd-user-sessions.service
  23.  
  24. # GDM takes responsibility for stopping plymouth, so if it fails
  25. # for any reason, make sure plymouth still stops
  26. OnFailure=plymouth-quit.service
  27.  
  28. [Service]
  29. ExecStartPre=/usr/share/gdm/generate-config
  30. ExecStart=/usr/sbin/gdm3
  31. KillMode=mixed
  32. Restart=always
  33. RestartSec=1s
  34. IgnoreSIGPIPE=no
  35. BusName=org.gnome.DisplayManager
  36. EnvironmentFile=-/etc/default/locale
  37. ExecReload=/usr/share/gdm/generate-config
  38. ExecReload=/bin/kill -SIGHUP $MAINPID
  39. KeyringMode=shared
  40.  
  41. ### Lines below this comment will be discarded
  42.  
  43. ### /lib/systemd/system/gdm.service
  44. # [Unit]
  45. # Description=GNOME Display Manager
  46. #
  47. # # replaces the getty
  48. # Conflicts=getty@tty1.service
  49. # After=getty@tty1.service
  50. #
  51. # # replaces plymouth-quit since it quits plymouth on its own
  52. # Conflicts=plymouth-quit.service
  53. # After=plymouth-quit.service
  54. #
  55. # # Needs all the dependencies of the services it's replacing
  56. # # pulled from getty@.service and plymouth-quit.service
  57. # # (except for plymouth-quit-wait.service since it waits until
  58. # # plymouth is quit, which we do)
  59. # After=rc-local.service plymouth-start.service systemd-user-sessions.service
  60. #
  61. # # GDM takes responsibility for stopping plymouth, so if it fails
  62. # # for any reason, make sure plymouth still stops
  63. # OnFailure=plymouth-quit.service
  64. #
  65. # [Service]
  66. # ExecStartPre=/usr/share/gdm/generate-config
  67. # ExecStart=/usr/sbin/gdm3
  68. # KillMode=mixed
  69. # Restart=always
  70. # RestartSec=1s
  71. # IgnoreSIGPIPE=no
  72. # BusName=org.gnome.DisplayManager
  73. # EnvironmentFile=-/etc/default/locale
  74. # ExecReload=/usr/share/gdm/generate-config
  75. # ExecReload=/bin/kill -SIGHUP $MAINPID
  76. # KeyringMode=shared
  77.  
  78.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement