[Unit]
Description=KDM Autologin
After=kdm.service esame-mk-homedir.service esame-desktop-wallpaper.service esame-firefox-home.service esame-virtualbox.service

[Service]
Type=oneshot
RemainAfterExit=yes
TimeoutSec=0
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/kdm-autologin start
ExecStop=/usr/libexec/labmanager/kdm-autologin stop
ExecReload=/usr/libexec/labmanager/kdm-autologin restart

[Install]
WantedBy=esame.target esamekiosk.target