Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save atomicbird/217729a0b3300b807746 to your computer and use it in GitHub Desktop.
Save atomicbird/217729a0b3300b807746 to your computer and use it in GitHub Desktop.
Keep BitTorrent Sync running on OS X. This version launches BitTorrent Sync directly instead of using /usr/bin/open, so that crashes will be detected.
<?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>KeepAlive</key>
<dict>
<key>Crashed</key>
<true/>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>Label</key>
<string>sync.com.tjluoma.bittorrentsync</string>
<key>Program</key>
<string>/Applications/BitTorrent Sync.app/Contents/MacOS/BitTorrent Sync</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment