Files
redshift-rebooted/data/systemd/redshift.service.in
T
Hugo Osvaldo Barrera 8bc937a700 Change services to by wanted by graphical-session
The previous value (`default.target`) meant that redshift got started
when a user session began, at which point we can't expect a graphic
session to be up and running (eg: Xorg or Wayland may have not even been
invoked yet).

Setting `WantedBy=graphical-session.target` ensures that, when the
service is enable, it'll only get run when starting a graphical session
(again, either Xorg or Wayland, whatever DE's may be used).
2020-06-14 11:31:42 +02:00

12 lines
236 B
Plaintext

[Unit]
Description=Redshift display colour temperature adjustment
Documentation=http://jonls.dk/redshift/
After=graphical-session.target
[Service]
ExecStart=@bindir@/redshift
Restart=always
[Install]
WantedBy=graphical-session.target