From 93ac3e64c20df46e46375db7eedbf7157f654967 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Tue, 12 Nov 2024 22:58:50 -0800 Subject: ssh-agent.service: clean socket --- .config/systemd/user/ssh-agent.service | 1 + 1 file changed, 1 insertion(+) (limited to '.config/systemd') 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] -- cgit v1.2.3