Skip to content

Instantly share code, notes, and snippets.

Last active Sep 2, 2015
What would you like to do?
launchd script to keep OPML editor running

Copy the plist to ~/Library/LaunchAgents then run

launchctl load ~/Library/LaunchAgents/com.scripting.opml.plist

This plist assumes that OPML Editor is installed in /Applications/OPML. If you have it installed in a different location, you will need to modify line 13 of the plist.

The OPML Editor should launch. It will re-launch within 10 seconds if it quits for whatever reason.

killall OPML

To quit OPML editor (and keep it that way), use launchd.

launchctl unload ~/Library/LaunchAgents/com.scripting.opml.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "">
<plist version="1.0">
<true />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment