Skip to content

Instantly share code, notes, and snippets.

@dlo
Created December 15, 2009 02:36
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 dlo/256655 to your computer and use it in GitHub Desktop.
Save dlo/256655 to your computer and use it in GitHub Desktop.
Place this in /System/Library/LaunchAgents/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.PubSub.Agent</string>
<key>KeepAlive</key>
<false/>
<key>RunAtLoad</key>
<false/>
<key>StartInterval</key>
<integer>1800</integer> <!-- will be updated dynamically per-user -->
<key>ProgramArguments</key>
<array>
<string>/System/Library/Frameworks/PubSub.framework/Versions/A/Resources/PubSubAgent.app/Contents/MacOS/PubSubAgent</string>
</array>
<key>ServiceIPC</key>
<true/>
<key>MachServices</key>
<dict>
<key>com.apple.pubsub.ipc</key>
<dict>
<key>ResetAtClose</key>
<true/>
</dict>
<key>com.apple.pubsub.notification</key>
<dict>
<key>ResetAtClose</key>
<true/>
</dict>
</dict>
<key>Sockets</key>
<dict>
<key>Render</key>
<dict>
<key>SockFamily</key>
<string>Unix</string>
<key>SecureSocketWithKey</key>
<string>Apple_PubSub_Socket_Render</string>
</dict>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment