Lewis Thompson wrote:
[ ... ]
>>Does the script set $PATH to include the location where python is? If you
>>don't list /usr/local/bin explicitly, this may be the problem...
> No, PATH doesn't get set but if I run it as /usr/local/bin/freevo.sh start
> from a login shell (i.e. after the system has booted) it works fine. I
> might be getting confused but I think this indicates the script is good
> and it's a start-up problem. Is this just wrong?
No, you should not assume that running the command from an interactive shell
is the same environment that a RC startup script or a cron job runs under.
Adding an "echo $PATH" somewhere would probably give you more information, but
without a more specific error message, I'll repeat my guess.
[ Without seeing the exact error message, asking us what's really going on
involves jedi mind tricks! :-) ]