SHOUTcast daemon script not functioning properly
your second snippet contains logger could not open file logs/sc_serv.log
. So it tries to write to a file sc_serv.log
which it either expects or wants to create in the directory logs
which it expects in the current directory. This also explains that it works when you cd to /home/apps/shout32/ first. I guess there's a file /home/apps/shout32/logs/sc_serv.log
.
can you configure the location of that file?can't you just add some cd ...
at the start of the script?