I have written a sample test service and it looks as below, [Unit] Description=Test service [Service] Type=dbus BusName=test.sample Restart=on-failure ExecStart=/usr/sbin/testbin -n StandardOutput=null [Install] WantedBy=multi-user.targetNow I want this service(or unit file) to be started after the xorg.service so I added After=xorg.serviceRequires=xorg.serviceto the unit section of my service file and rebooted the system.But it is not having an effect on my service file.So my goal here is to bring this service up after the user session(I mean after X comes up).Please let me know what am I missing here or is there any other alternative approach to delay it?
Systemd, change order of unit file starts?
ubuntu;systemd