summaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2024-11-12 22:58:50 -0800
committerJoe Rayhawk <jrayhawk@fairlystable.org>2024-11-12 22:58:50 -0800
commit93ac3e64c20df46e46375db7eedbf7157f654967 (patch)
treec5c01b1cd8be73a3601048aa9d42741a2356ed45 /.config/systemd
parentab4a53252882c0646548efd396204709ca3d8c0c (diff)
downloadjrayhawk-dotfiles-93ac3e64c20df46e46375db7eedbf7157f654967.tar.gz
jrayhawk-dotfiles-93ac3e64c20df46e46375db7eedbf7157f654967.zip
ssh-agent.service: clean socket
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/ssh-agent.service1
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]