Skip to content

Commit

Permalink
HomebrewFormula: run service at login (without sudo) not at boot
Browse files Browse the repository at this point in the history
Fixes #25
  • Loading branch information
FiloSottile committed May 23, 2020
1 parent cb3a703 commit 667be2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions HomebrewFormula/yubikey-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ def post_install
(var/"log").mkpath
end

# TODO: figure out if we can avoid the suggested command including "sudo".
plist_options :startup => true

def plist
<<~EOS
<?xml version="1.0" encoding="UTF-8"?>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Written in pure Go, it's based on [github.com/go-piv/piv-go](https://github.com/
```
brew tap filippo.io/yubikey-agent https://filippo.io/yubikey-agent
brew install yubikey-agent
brew services start yubikey-agent # do NOT use sudo
brew services start yubikey-agent
yubikey-agent -setup # generate a new key on the YubiKey
```
Expand Down

0 comments on commit 667be2c

Please sign in to comment.