Using your springboard script did the trick. Thanks so much for the help, I've been struggling w/this for a bit now.<br><br>-Josh<br clear="all"><br><a href="http://www.brainyquote.com/quotes/authors/o/ogden_nash.html" target="_blank">Ogden Nash</a> - "The trouble with a kitten is that when it grows up, it's always a cat."
<br><br><div class="gmail_quote">On Sun, Jul 26, 2009 at 6:50 AM, Daniel Medina <span dir="ltr"><<a href="mailto:daniel.medina@gmail.com">daniel.medina@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sat, Jul 25, 2009 at 09:09:50PM -0500, Josh Rogers wrote:<br>
> So, when I run launchctl export as any user, I see the $HOME var set<br>
> correctly, but as root it ONLY includes $PATH.<br>
><br>
> This should be no big deal since I'm running the plist as www.<br>
><br>
> Here is the plist (I'm new to launchd, so this may be completely wrong).<br>
> its currently disabled because its not running correctly, but other than<br>
> that, can you see anything wrong with it that would cause my problem?<br>
<br>
</div> I would strongly suggest wrapping up what you have in a shell springboard, EX:<br>
<br>
$ cat rancid-springboard.sh<br>
#!/bin/bash<br>
<br>
HOME=/Path/to/homedir<br>
export HOME<br>
<br>
# Test what we have in our env<br>
printenv > /tmp/rancid-springboard.log<br>
<br>
/opt/local/libexec/rancid/rancid-run -m <a href="mailto:user@domain.com">user@domain.com</a><br>
<br>
and then replace ProgramArguments in your plist. This way you have a bit more control over the env outside of whatever launchd is doing.<br>
<br>
Let me know how it goes...<br>
<div><div></div><div class="h5"><br>
> <?xml version="1.0" encoding="UTF-8"?><br>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "<br>
> <a href="http://www.apple.com/DTDs/PropertyList-1.0.dtd" target="_blank">http://www.apple.com/DTDs/PropertyList-1.0.dtd</a>"><br>
> <plist version="1.0"><br>
> <dict><br>
> <key>Disabled</key><br>
> <true/><br>
> <key>Label</key><br>
> <string>Rancid</string><br>
> <key>Nice</key><br>
> <integer>1</integer><br>
> <key>OnDemand</key><br>
> <false/><br>
> <key>ProgramArguments</key><br>
> <array><br>
> <string>/bin/sh</string><br>
> <string>-c</string><br>
> <string>/opt/local/libexec/rancid/rancid-run</string><br>
> <string>-m</string><br>
> <string><a href="mailto:user@domain.com">user@domain.com</a></string><br>
> </array><br>
> <key>StartCalendarInterval</key><br>
> <dict><br>
> <key>Hour</key><br>
> <integer>6</integer><br>
> <key>Minute</key><br>
> <integer>26</integer><br>
> </dict><br>
> <key>StartInterval</key><br>
> <integer>43200</integer><br>
> <key>UserName</key><br>
> <string>www</string><br>
> </dict><br>
> </plist><br>
<br>
</div></div>--<br>
<font color="#888888">Daniel Medina<br>
</font></blockquote></div><br>