/etc/rc.local looks like this:
- Code: Select all
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
sh /var/subsonic/subsonic.sh
This does not work and I see this in subsonic_sh.log:
- Code: Select all
/var/subsonic/subsonic.sh: line 113: java: command not found
Of course when I run the script manually, it works fine.
What am I doing wrong?
Thanks,
A
