I'm trying to write a user level service for
redshift, and it needs to wait until Xorg is up and running. My current service file looks like this:
[Unit] Description=Redshift After=graphical.target [Service] Environment=DISPLAY=:0 ExecStart=/bin/redshift -l 28:-13 -t 5300:3300 -b 0.80:0.91 -m randr Restart=always [Install] WantedBy=default.target
However, it seems that it attempts to start before Xorg is up, and I have to manually start the service afterwards. I guess I'm using the wrong
After= target. Any hints?