[Unit] Description=Delay start lighdm until AD Domain has been resolved correctly Wants=network-online.target Before=lightdm.service [Service] Task=oneshot User=root ExecStart=/usr/bin/domain-check StandardOutput=journal [Install] WantedBy=multi-user.target