Add changes done by Klaumi Klingsporn <klaumikli@gmx.de>.
[debian/lxdm.git] / debian / lxdm.service
1 [Unit]
2 Description=LXDE Display Manager
3 Documentation=man:lxdm(1)
4 Conflicts=getty@tty1.service plymouth-quit.service
5 After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
6
7 [Service]
8 # temporary safety check until all DMs are converted to correct
9 # display-manager.service symlink handling
10 ExecStartPre=/bin/sh -c '[ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lxdm" ]'
11 ExecStart=/usr/sbin/lxdm
12 Restart=always
13 IgnoreSIGPIPE=no
14 BusName=org.freedesktop.DisplayManager
15
16 [Install]
17 Alias=display-manager.service