Skip to content

Commit

Permalink
fix: update .socket and .service files
Browse files Browse the repository at this point in the history
These now support gpg-agent and ssh-agent functionality.
  • Loading branch information
smlx committed Aug 14, 2021
1 parent cac25d3 commit 8f3d187
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/piv-agent.service
Expand Up @@ -2,4 +2,4 @@
Description=piv-agent service

[Service]
ExecStart=%h/go/bin/piv-agent serve --debug
ExecStart=piv-agent serve --debug --agent-types=ssh=0;gpg=1
3 changes: 2 additions & 1 deletion deploy/piv-agent.socket
@@ -1,8 +1,9 @@
[Unit]
Description=piv-agent socket
Description=piv-agent socket activation

[Socket]
ListenStream=%t/piv-agent/ssh.socket
ListenStream=%t/gnupg/S.gpg-agent

[Install]
WantedBy=sockets.target

0 comments on commit 8f3d187

Please sign in to comment.