Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save talkingmoose/2001539 to your computer and use it in GitHub Desktop.
Save talkingmoose/2001539 to your computer and use it in GitHub Desktop.
Launch agent for CommunicatorSetup-1.0.sh script
<?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>Label</key>
<string>net.talkingmoose.CommunicatorSetup</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>/Library/talkingmoose/Scripts/CommunicatorSetup-1.0.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
@talkingmoose
Copy link
Author

Paste the above code into a TextEdit window and save it as plain text. Save the file as net.talkingmoose.CommunicatorSetup.plist into /Library/LaunchAgents. Log out and log in. At every login it will call the CommunicatorSetup-1.0.sh script located in /Library/talkingmoose/Scripts/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment