fix(ssh-agent): remove the socket in ExecStartPre
Signed-off-by: Anthony Rabbito <hello@anthonyrabbito.com>
This commit is contained in:
parent
9417892cb7
commit
11b8701db9
@ -9,6 +9,7 @@ Requires=ssh-agent.socket
|
||||
|
||||
[Service]
|
||||
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
||||
ExecStartPre=/usr/bin/rm -f $SSH_AUTH_SOCK
|
||||
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
|
||||
PassEnvironment=SSH_AGENT_PID
|
||||
SuccessExitStatus=2
|
||||
|
Loading…
Reference in New Issue
Block a user