Skip to content

Instantly share code, notes, and snippets.

@baughj
Created March 18, 2021 17:21
Show Gist options
  • Save baughj/9d48d839bd4f7bf94d1c2bd578bc9896 to your computer and use it in GitHub Desktop.
Save baughj/9d48d839bd4f7bf94d1c2bd578bc9896 to your computer and use it in GitHub Desktop.
Yubikey agent plist (for running out of homedir)
<plist version="1.0">
<dict>
<key>Label</key>
<string>co.eris.yubikey-agent</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/opt/pinentry-mac/bin</string>
</dict>
<key>ProgramArguments</key>
<array>
<string>/Users/baughj/bin/yubikey-agent</string>
<string>-l</string>
<string>/usr/local/var/run/yubikey-agent.sock</string>
</array>
<key>RunAtLoad</key><true/>
<key>KeepAlive</key><true/>
<key>ProcessType</key>
<string>Background</string>
<key>StandardErrorPath</key>
<string>/usr/local/var/log/yubikey-agent.log</string>
<key>StandardOutPath</key>
<string>/usr/local/var/log/yubikey-agent.log</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment