Is it possible to get the systemd service for redshift? Thanks Reproducible: Always The systemd service is already available in other distros, so it should be a pain to adapt it to gentoo..
On my system, red-shift is run by gtk-redshift and both of those run under my primary unprivileged user. I should mention that haven't spend much time with systemd yet and am still using OpenRC. Still, I wonder if this is really a job for an init system or systemd. Please elaborate or share an enlightening link with me. Thanks! PS: Has upstream been contacted about this? Providing the needed file upstream is not an option?
It's a service, so I think creating a unit could be appropriated.. Also, taking a look at how ArchLinux wiki: Autostart There are two ways to have redshift automatically started: Using the provided systemd service unit files (see Systemd#Using_units). Two service files are provided, /usr/lib/systemd/user/redshift.service and /usr/lib/systemd/user/redshift-gtk.service: activate only one of them depending on whether or not you want the system tray icon. Note: For the systemd service unit files to work, you need to set the DISPLAY environment variable as it is described here: Systemd/User#Environment_variables The 'drm' adjustment method does not require this variable set. By right-clicking the system tray icon when redshift-gtk is already launched and selecting 'Autostart'. That way is how archlinux does. of course this is just to take a look how it's implemented somewhere else..
It turned out that upstream already ships these files. So I have made configure install them now. I consider this a fix. If there's anything missing more, please feel free to re-open the bug. +*redshift-1.9.1-r2 (15 Dec 2014) + + 15 Dec 2014; Sebastian Pipping <sping@gentoo.org> +redshift-1.9.1-r2.ebuild: + Install systemd units provided by upstream (bug #532578) +
ok thanks :)