Skip to content

Instantly share code, notes, and snippets.

@tjluoma
Created July 9, 2012 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjluoma/3077077 to your computer and use it in GitHub Desktop.
Save tjluoma/3077077 to your computer and use it in GitHub Desktop.
a launchd plist to launch Growl on login and keep it running unless it is manually 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 Jul 9, 2012

Save this file to ~/Library/LaunchAgents/

You can name it whatever you want, as long as it ends with ".plist"

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