aboutsummaryrefslogtreecommitdiffstats
path: root/data/systemd (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-06-14Change services to by wanted by graphical-sessionHugo Osvaldo Barrera2-2/+2
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-14Set redshift to run after graphical-sesion.targetHugo Osvaldo Barrera2-2/+2
The previous reference (`display-manager.service`) is not something that's included with systemd. While it may be present on some user's system (because they created it, or some specific package includes it), it can't be expected to be present. On the other hand, `graphical-session.target` is included with systemd, and can be expected to be there, and be triggered when starting a graphical session. This guarantees that redshift will only run AFTER a graphic session is up (eg: either Xorg or Wayland are up).
2014-03-20Add systemd user unit file for redshift-gtkJon Lund Steffensen1-0/+11
2014-03-20Add systemd .service file for redshiftHenry de Valence1-0/+11
Add a systemd user .service file to allow users to run redshift as a daemon using systemd. Also adds a new configure option, `--with-systemduserunitdir`, which gives the install path. If set to `no`, systemd support is disabled. If not set, we use `pkg-config` to find the path.