ControlPlane
ControlPlane copied to clipboard
Frequent crashes: a workaround
As we know, there isn't any current development happening on ControlPlane. But it's still very useful for me. Unfortunately, the app tends to crash a couple of times a day, and I only notice when something that was supposed to automatically happen doesn't happen. So I found this Stack Exchange post, and put together a LaunchCtl service which automatically relaunches ControlPlane when it crashes. I hope this is useful to someone. Name it ControlPlane.restart.plist
, save it to ~/Library/LaunchAgents
, and launch it with launchctl load ~/Library/LaunchAgents/ControlPlane.restart.plist
.
<?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>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>ControlPlane.restart</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/ControlPlane.app/Contents/MacOS/ControlPlane</string>
</array>
</dict>
</plist>
+1 useful. you are one smart watermelon 🍉ty
Awesome, just what I was looking for!