diff options
author | Anthony Wang | 2024-11-23 20:58:43 -0500 |
---|---|---|
committer | Anthony Wang | 2024-11-23 20:58:43 -0500 |
commit | ea6ef23b3a2033290fe2127d758b3017efb11bbb (patch) | |
tree | a893c811e9e78e28b23e136116db6fb6a4ddb241 | |
parent | 76f210ad5007b08a4c60965c22003b511e9bd0b9 (diff) |
Wait 0.1 seconds to avoid race condition between ssh-agent and ssh-add
-rw-r--r-- | systemd/user/ssh-agent.service.d/override.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/user/ssh-agent.service.d/override.conf b/systemd/user/ssh-agent.service.d/override.conf index 4e35d4c..d26f976 100644 --- a/systemd/user/ssh-agent.service.d/override.conf +++ b/systemd/user/ssh-agent.service.d/override.conf @@ -1,2 +1,4 @@ [Service] +# Wait so ssh-agent can start up +ExecStartPost=sleep 0.1 ExecStartPost=ssh-add |