summaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
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]