]> git.rmz.io Git - dotfiles.git/blobdiff - systemd/user/ssh-agent.service
vim: add choice snippet for sh
[dotfiles.git] / systemd / user / ssh-agent.service
index 8a1d157ed9e9ab845a978e1de9b42bfcf7bb2668..562c6af3c757c4fa5763ebab653c60f5685647a9 100644 (file)
@@ -2,9 +2,8 @@
 Description=SSH key agent
 
 [Service]
-Type=forking
 PassEnvironment=SSH_AUTH_SOCK
-ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
+ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK -t 1h
 
 [Install]
 WantedBy=default.target