aboutsummaryrefslogtreecommitdiffstats
path: root/.config/systemd/user/ssh-agent.service
blob: ab9d0d00f7002430709445fe62dcbeda99e1f9bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# /usr/lib/systemd/user/ssh-agent.service
[Unit]
Description=SSH key agent
After=local-fs.target
ConditionFileIsExecutable=/usr/bin/ssh-agent

[Service]
Type=forking
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK

[Install]
WantedBy=default.target