X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/3ba15b3404cae27dd0e550c7b014c5f08b50aad5..03e18ae17a72f3db72ee65eb290d35fb13d66237:/systemd/user/ssh-agent.service?ds=sidebyside diff --git a/systemd/user/ssh-agent.service b/systemd/user/ssh-agent.service index 8a1d157..824b804 100644 --- a/systemd/user/ssh-agent.service +++ b/systemd/user/ssh-agent.service @@ -2,9 +2,8 @@ Description=SSH key agent [Service] -Type=forking -PassEnvironment=SSH_AUTH_SOCK -ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK +Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket +ExecStart=/usr/bin/ssh-agent -Da $SSH_AUTH_SOCK -t 2h [Install] WantedBy=default.target