Skip to content

Instantly share code, notes, and snippets.

@cdzombak
Created March 8, 2023 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdzombak/7b9b2d5bc8dd4f44dc9b69698e830e2b to your computer and use it in GitHub Desktop.
Save cdzombak/7b9b2d5bc8dd4f44dc9b69698e830e2b to your computer and use it in GitHub Desktop.
launchd job to run iperf3 server as a global daemon
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>GroupName</key>
<string>staff</string>
<key>InitGroups</key>
<true/>
<key>Label</key>
<string>com.dzombak.iperf3</string>
<key>ProcessType</key>
<string>Standard</string>
<key>ProgramArguments</key>
<array>
<string>/opt/homebrew/bin/iperf3</string>
<string>-s</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>cdzombak</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment