mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-30 06:29:29 +02:00
systemd: start ssh-agent from systemd
This commit is contained in:
parent
c4fdd97bec
commit
01cfa52e95
3 changed files with 10 additions and 0 deletions
8
systemd/ssh-agent.service
Normal file
8
systemd/ssh-agent.service
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=SSH key agent
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
||||
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
|
||||
ExecStart=/usr/bin/dbus-update-activation-environment SSH_AUTH_SOCK=$SSH_AUTH_SOCK
|
Loading…
Add table
Add a link
Reference in a new issue