blob: e84e9b078a828d6f16041bee0b7d93ca03ad394a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
|