diff --git a/systemd/ssh-agent.service b/systemd/ssh-agent.service index e4224d9..86a933b 100644 --- a/systemd/ssh-agent.service +++ b/systemd/ssh-agent.service @@ -4,5 +4,5 @@ Description=SSH key agent [Service] 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 -ExecStart=/usr/bin/dbus-update-activation-environment SSH_AUTH_SOCK