34 lines
982 B
INI
34 lines
982 B
INI
[Unit]
|
|
Description=GNOME Display Manager
|
|
|
|
# replaces the getty
|
|
Conflicts=getty@tty1.service
|
|
After=getty@tty1.service
|
|
|
|
# replaces plymouth-quit since it quits plymouth on its own
|
|
Conflicts=plymouth-quit.service
|
|
After=plymouth-quit.service
|
|
|
|
# Needs all the dependencies of the services it's replacing
|
|
# pulled from getty@.service and plymouth-quit.service
|
|
# (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]
|
|
ExecStartPre=/usr/share/gdm/generate-config
|
|
ExecStart=/usr/sbin/gdm3
|
|
KillMode=mixed
|
|
Restart=always
|
|
RestartSec=1s
|
|
IgnoreSIGPIPE=no
|
|
BusName=org.gnome.DisplayManager
|
|
EnvironmentFile=-/etc/default/locale
|
|
ExecReload=/usr/share/gdm/generate-config
|
|
ExecReload=/bin/kill -SIGHUP $MAINPID
|
|
KeyringMode=shared
|