Autostart Server After Crash
This document will guide you on how you can configure your Mac to automatically restart the BlueBubbles Server app if the app crashes (unsafe exit)
Last updated
This document will guide you on how you can configure your Mac to automatically restart the BlueBubbles Server app if the app crashes (unsafe exit)
Last updated
Special thanks to Scr0nch for the basis of this guide!
Open the TextEdit app on your Mac
Copy & paste the following XML into the new text file:
Note: Modify the "Program" string value to the location of your BlueBubbles.app, and/or replace {username}
with your macOS username
This will make sure that the specified program will be run when you first login to your Mac (RunAtLoad
), and will be restarted if it crashes (KeepAlive
). The SuccessfulExit: false
flag means that the app will not be restarted if the server exits successfully; for example, if you manually close the app.
Save the file to ~/Library/LaunchAgents/com.bluebubbles.server.plist
CMD + S
to save the file
CMD + Shift + G
to open a file location
Paste ~/Library/
into the popup and hit Enter
Find the LaunchAgents
folder and open it
If it does not exist, create it using the New Folder
button
Enter com.bluebubbles.server.plist
in the Save As
field
Disable the built-in autostart option in the BlueBubbles Server:
Install the launch agent and load it after the current user graphically logs in:
Immediately start the launch agent (only necessary for the first time):
Some additional notes:
To uninstall the launch agent:
To print information about the launch agent: