diff options
author | Joe Rayhawk <jrayhawk@fairlystable.org> | 2024-11-12 22:58:50 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@fairlystable.org> | 2024-11-12 22:58:50 -0800 |
commit | 93ac3e64c20df46e46375db7eedbf7157f654967 (patch) | |
tree | c5c01b1cd8be73a3601048aa9d42741a2356ed45 /.config/systemd/user/ssh-agent.service | |
parent | ab4a53252882c0646548efd396204709ca3d8c0c (diff) | |
download | jrayhawk-dotfiles-93ac3e64c20df46e46375db7eedbf7157f654967.tar.gz jrayhawk-dotfiles-93ac3e64c20df46e46375db7eedbf7157f654967.zip |
ssh-agent.service: clean socket
Diffstat (limited to '.config/systemd/user/ssh-agent.service')
-rw-r--r-- | .config/systemd/user/ssh-agent.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/systemd/user/ssh-agent.service b/.config/systemd/user/ssh-agent.service index baba500..17b490c 100644 --- a/.config/systemd/user/ssh-agent.service +++ b/.config/systemd/user/ssh-agent.service @@ -5,6 +5,7 @@ Description=ssh-agent Type=simple Environment=SSH_AUTH_SOCK=%t/ssh-agent Environment=DISPLAY=:0 +ExecStartPre=/bin/rm -f $SSH_AUTH_SOCK ExecStart=/usr/bin/ssh-agent -d -a $SSH_AUTH_SOCK [Install] |