Skip to content

Instantly share code, notes, and snippets.

@tjluoma
Created August 15, 2012 17:07
Show Gist options
  • Select an option

  • Save tjluoma/3361651 to your computer and use it in GitHub Desktop.

Select an option

Save tjluoma/3361651 to your computer and use it in GitHub Desktop.
This .plist will keep Growl running all of the time EXCEPT if the user tells it to quit.
<?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>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>Label</key>
<string>com.tjluoma.keeprunning-growl</string>
<key>LingonWhat</key>
<string>/Applications/Growl.app/Contents/MacOS/Growl</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Growl.app/Contents/MacOS/Growl</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
@tjluoma
Copy link
Author

tjluoma commented Aug 15, 2012

Save to ~/Library/LaunchAgents/ and

@tjluoma
Copy link
Author

tjluoma commented Aug 15, 2012

(oops, comment continued here) …and make sure that the filename ends with '.plist' such as 'com.tjluoma.keeprunning-growl.plist'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment