diff options
author | zer0def | 2023-09-27 19:07:37 +0200 |
---|---|---|
committer | zer0def | 2023-09-27 19:14:27 +0200 |
commit | f16e45b91ae16838b7729e98b65760fc30235676 (patch) | |
tree | 3a7e00e15be24e87c4fce69c74e7e16b99c5d0f8 /hpnssh-agent.service | |
parent | 072d181e2f17c92f1d493f4f5ad117ef7fc8c4ab (diff) | |
download | aur-f16e45b91ae16838b7729e98b65760fc30235676.tar.gz |
9.4p1.hpn18.1.0
Diffstat (limited to 'hpnssh-agent.service')
-rw-r--r-- | hpnssh-agent.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/hpnssh-agent.service b/hpnssh-agent.service new file mode 100644 index 000000000000..e84e9b078a82 --- /dev/null +++ b/hpnssh-agent.service @@ -0,0 +1,15 @@ +# Requires SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/hpnssh-agent.socket" to be set in environment +[Unit] +ConditionEnvironment=!SSH_AGENT_PID +Description=OpenSSH-HPN key agent +Documentation=man:ssh-agent(1) man:ssh-add(1) man:ssh(1) + +[Service] +Environment=SSH_AUTH_SOCK=%t/hpnssh-agent.socket +ExecStart=/usr/bin/hpnssh-agent -D -a $SSH_AUTH_SOCK +PassEnvironment=SSH_AGENT_PID +SuccessExitStatus=2 +Type=simple + +[Install] +Also=default.socket |