Skip to content

Instantly share code, notes, and snippets.

@levigroker
Last active January 8, 2022 19:39
Show Gist options
  • Save levigroker/b172287d1e84d4945d995108c10f79c8 to your computer and use it in GitHub Desktop.
Save levigroker/b172287d1e84d4945d995108c10f79c8 to your computer and use it in GitHub Desktop.
Launch Agent to keep Degrees.app alive after a crash.
<!--
Launch Agent to keep Degrees.app alive after a crash.
Created May 9, 2016 by Levi Brown
https://gist.github.com/levigroker/b172287d1e84d4945d995108c10f79c8
Add to `~/Library/LaunchAgents/com.levigroker.degrees_keepalive.plist`
`cd ~/Library/LaunchAgents`
`launchctl load com.levigroker.degrees_keepalive.plist`
Copyright (c) 2016 Levi Brown <mailto:[email protected]>
This work is licensed under the Creative Commons Attribution 3.0
Unported License. To view a copy of this license, visit
http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative
Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041,
USA.
-->
<?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>SuccessfulExit</key>
<false/>
</dict>
<key>Label</key>
<string>com.levigroker.degrees_keepalive</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Degrees.app/Contents/MacOS/Degrees</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment