On 6/09/2012, at 10:27 AM, Michael Welsh <yom...@yomcat.geek.nz> wrote:
> On 6/09/2012, at 10:21 AM, William Stein <wst...@gmail.com> wrote:
>> 
>> Relevant Question: Does anybody know how to robustly and successfully
>> start a script when OS X boots, so when the lab machine mentioned
>> above is rebooted, the ssh tunnel remains?
> 
> Does just making the script and dumping it in your startup items (in System 
> Prefs) work?
> 
> It'll open Terminal, but a killall Terminal at the end will solve that...
> 
> 
> Michael


A more elegant solution is launchd - like this: http://pastebin.com/DTGcAdMd. 
The important lines are 14 and 15 (to make the run on startup)
Just save the file as <label>.plist in /Library/LaunchAgents and it should work.

Michael

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to