Fixing problem with lxdm.service file: no Alias is required (Closes: #770404).
[debian/lxdm.git] / debian / lxdm.service
1 [Unit]
2 Description=LXDE Display Manager
3 Documentation=man:lxdm(1)
4 Conflicts=getty@tty7.service plymouth-quit.service
5 After=systemd-user-sessions.service getty@tty7.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 '[ ! -f /etc/X11/default-display-manager -o "$(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