Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frequent crashes: a workaround #503

Open
smartwatermelon opened this issue Mar 13, 2019 · 2 comments
Open

Frequent crashes: a workaround #503

smartwatermelon opened this issue Mar 13, 2019 · 2 comments

Comments

@smartwatermelon
Copy link

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>
@nickfreemandesign
Copy link

+1 useful. you are one smart watermelon 🍉ty

@axsuul
Copy link

axsuul commented Nov 1, 2021

Awesome, just what I was looking for!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants