Re: Starting gpg-agent from systemd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Jun 6, 2014 at 10:14 AM, Magnus Therning <magnus@xxxxxxxxxxxx> wrote:
> I have a feeling this ought to be solvable using systemd but I can't
> really see how.  Writing a service for gpg-agent is not that
> difficult, and it creates the required environment file without
> problems.  But, how do I hook it in to the user login in the right
> way?  Who should be wanting my gpg-agent.service, and then load the
> generated file using EnvironmentFile=?

Rather than starting it purely with systemd, have you looked into
using Envoy [1] and using its PAM module to ensure it gets propagated
to the entire login session?

Regards,
~Celti

[1]: https://github.com/vodik/envoy


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux