Skip to content

Commit 2a9e36d

Browse files
committed
Add ssh-agent.service.
1 parent 6c99711 commit 2a9e36d

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## HEAD
4+
5+
- Add ssh-agent.service.
6+
37
## 1.0.0
48

59
- Initial release.

user/ssh-agent.service

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Unit]
2+
Description=SSH key agent
3+
Documentation=man:ssh-agent(1)
4+
5+
[Service]
6+
Type=forking
7+
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
8+
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
9+
10+
[Install]
11+
WantedBy=default.target

0 commit comments

Comments
 (0)