Since some people have been experiencing crashes with Growl lately, I
thought this might help. It's a launchd plist to automatically restart
Growl.app if/when it crashes.


<?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>ProgramArguments</key>

<array>

<string>/Applications/Growl.app/Contents/MacOS/Growl</string>

</array>

<key>RunAtLoad</key>

<true/>

</dict>

</plist>



You can find it at https://gist.github.com/tjluoma/6472707


Save it as ~/Library/LaunchAgents/com.tjluoma.keeprunning.growl.plist
and load it using


launchctl load $HOME/Library/LaunchAgents/com.tjluoma.keeprunning.growl.plist


and it will load Growl and automatically restart it if it crashes.


Note that if you use this, you should set Growl's preferences so that
it will _not_ start automatically at login. This will do that for you.


If you quit Growl manually, it will not automatically restart. Only if
it exits 'uncleanly'.


I found this helpful, I thought others might as well.


Tj

-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/growldiscuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to