From ef01f3212e33d0b424172ef48608cbf71e83475c Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 20 Apr 2020 23:11:33 +0200 Subject: [PATCH] systemd: restart ssh-agent Like, when I do `pkill ssh`. --- systemd/ssh-agent.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/ssh-agent.service b/systemd/ssh-agent.service index 86a933b..0991ea1 100644 --- a/systemd/ssh-agent.service +++ b/systemd/ssh-agent.service @@ -6,3 +6,4 @@ Type=simple Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket ExecStartPre=/usr/bin/dbus-update-activation-environment SSH_AUTH_SOCK ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK +Restart=always