Stefan Dirsch
56a59b8768
- Use KillMode=process for systemd service, this ensures Xorg won't receive SIGKILL while switching to runlevel 3 [bnc#871808]. - Add "Also=xdm.service" to display-manager.service to better handle migration. OBS-URL: https://build.opensuse.org/request/show/235714 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=77
19 lines
536 B
Desktop File
19 lines
536 B
Desktop File
[Unit]
|
|
Description=X Display Manager
|
|
Requires=var-run.mount
|
|
After=ypbind.service gpm.service time-sync.target winbind.service acpid.service
|
|
Wants=remote-fs.target dbus.socket systemd-user-sessions.service
|
|
After=remote-fs.target dbus.socket systemd-user-sessions.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/var/run/displaymanager.pid
|
|
ExecStart=/usr/lib/X11/display-manager start
|
|
ExecStop=/usr/lib/X11/display-manager stop
|
|
ExecReload=/usr/lib/X11/display-manager reload
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|
|
Also=xdm.service
|