Skip to content

Instantly share code, notes, and snippets.

@whymarrh
Last active December 13, 2015 19:48
Show Gist options
  • Save whymarrh/4965481 to your computer and use it in GitHub Desktop.
Save whymarrh/4965481 to your computer and use it in GitHub Desktop.
Sample p-list file for an OS X 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>Label</key>
<string>com.whymarrh.apps.mediakeys</string>
<key>ProgramArguments</key>
<array>
<string>/path/to/the/executable/file</string>
</array>
<key>KeepAlive</key>
<true />
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment