On 03/28/2016 08:39 PM, Josh Sled wrote: > I usually just let my desktop environment handle ssh-agent-cy, but I do > have dircproxy and fetchmail systemd units at a user level, and they're > nice and simple (even if systemd is not).
It is useful to do it at systemd user level so it applies across all
console logins, like if you want to test wayland in different vc, etc.
> My question is: does anyone know a way to spec those user-level unit
> files to be started on system boot and on interactive/X login. I want
> those two examples to start as my user whenever the machine is started,
> and a couple of others ("redshift" in particular) to be started whenever
> I log into X.
Yes you can do that with:
# loginctl enable-linger username
see:
https://wiki.archlinux.org/index.php/Systemd/User#Automatic_start-up_of_systemd_user_instances
People also use it for mpd (Music Player Daemon), etc. What is redshift?
--
Anthony Carrico
signature.asc
Description: OpenPGP digital signature
