-
Notifications
You must be signed in to change notification settings - Fork 40
/
gdm.service.in
34 lines (28 loc) · 982 Bytes
/
gdm.service.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[Unit]
Description=GNOME Display Manager
# replaces the getty
Conflicts=getty@tty@[email protected]
After=getty@tty@[email protected]
# 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 [email protected] 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]
ExecStart=@sbindir@/gdm
KillMode=mixed
Restart=always
IgnoreSIGPIPE=no
BusName=org.gnome.DisplayManager
StandardOutput=syslog
StandardError=inherit
EnvironmentFile=-@LANG_CONFIG_FILE@
ExecReload=/bin/kill -SIGHUP $MAINPID
[Install]
Alias=display-manager.service