Launchd is a system services included with MacOS that handles starting and running other programs. Here we'll describe how to make it automatically run SpiderOak in --headless (no GUI) mode whenever a user logs in. In this configuration SpiderOak will not appear in the Dock or menu bar, and will use less memory and fewer processor cycles than when the GUI is running.
We can make launchd start and stop SpiderOak on user login/logout by adding a SpiderOak launch configuration file to your LaunchAgents folder. Paste this text into a new text file:
<?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>
<true/>
<key>Label</key>
<string>com.spideroak</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/SpiderOakONE.app/Contents/MacOS/SpiderOakONE</string>
<string>--headless</string>
</array>
</dict>
</plist>
Please Note: If you create this file in TextEdit, you must save it in plain text mode. Choose "Make Plain Text" from the "Format" menu before saving. Save that file under your home folder in Library/LaunchAgents with a filename of com.spideroak.plist.
Once that file exists, the SpiderOak client starts automatically at the next login. To start it manually, start Terminal, and run as the user:
launchctl load ~/Library/LaunchAgents/com.spideroak.plist
To stop it for the current login session (not permanently):
launchctl remove com.spideroak
FYI: The launchd config was originally provided by a helpful user. Thanks LD!
The instructions above presume that you are running the current version of our application. If you are running an older version, download and install our current version, then follow the instructions above.