Skip to content

Commit 119ef4e

Browse files
authored
Add files via upload
1 parent 3100d18 commit 119ef4e

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

utils/systemd-units/gdm.service

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[Unit]
2+
Description=GNOME Display Manager
3+
4+
# replaces the getty
5+
Conflicts=getty@tty1.service
6+
After=getty@tty1.service
7+
8+
# replaces plymouth-quit since it quits plymouth on its own
9+
Conflicts=plymouth-quit.service
10+
After=plymouth-quit.service
11+
12+
# Needs all the dependencies of the services it's replacing
13+
# pulled from getty@.service and plymouth-quit.service
14+
# (except for plymouth-quit-wait.service since it waits until
15+
# plymouth is quit, which we do)
16+
After=rc-local.service plymouth-start.service systemd-user-sessions.service
17+
18+
# GDM takes responsibility for stopping plymouth, so if it fails
19+
# for any reason, make sure plymouth still stops
20+
OnFailure=plymouth-quit.service
21+
22+
[Service]
23+
ExecStart=/usr/sbin/gdm
24+
KillMode=mixed
25+
Restart=always
26+
IgnoreSIGPIPE=no
27+
BusName=org.gnome.DisplayManager
28+
EnvironmentFile=-/etc/locale.conf
29+
ExecReload=/bin/kill -SIGHUP $MAINPID
30+
KeyringMode=shared
31+
32+
[Install]
33+
Alias=display-manager.service

0 commit comments

Comments
 (0)