Fixing problem with lxdm.service file: no Alias is required (Closes: #770404).
[debian/lxdm.git] / debian / lxdm.service
CommitLineData
400ad8c1
AG
1[Unit]
2Description=LXDE Display Manager
3Documentation=man:lxdm(1)
ffd9add6
AG
4Conflicts=getty@tty7.service plymouth-quit.service
5After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service
400ad8c1
AG
6
7[Service]
8# temporary safety check until all DMs are converted to correct
9# display-manager.service symlink handling
f6e958ca 10ExecStartPre=/bin/sh -c '[ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lxdm" ]'
400ad8c1
AG
11ExecStart=/usr/sbin/lxdm
12Restart=always
13IgnoreSIGPIPE=no
14BusName=org.freedesktop.DisplayManager