On 30/06/10 08:43, Neil Greenwood wrote: > On 29 June 2010 22:59, Rob Beard<r...@esdelle.co.uk> wrote: >> Thanks Al, >> >> I managed to get it working. I had to add the --user and then the >> username the process was running under to stop it. Basically it now >> starts the process as root, then changes to a different user. >> >> All seems to be working now when I try and start the init script from >> root from the shell, so it's getting there. >> >> Now I have to figure out why it won't start at boot (when entering >> runlevel 2). I've linked the init.d scripts into files >> S20icecast-stream1...2... and so on and even added them to /etc/rc.local >> but they're not starting at boot. >> >> Not to worry, I'm making progress. I'm going to call it a night now and >> look at it tomorrow after sleeping on it. >> >> Rob >> > > I'd guess that at 20, a dependency hasn't been started which is why it > fails, but the init.d script still works. > > I'd try renaming the link to use a higher number, something like > S75icecast-stream1, etc. > I've not looked at rc.local much, so I don't know why that fails. > > > Cofion/Regards, > Neil. >
Yep possibly, it's a little bit frustrating not being able to see the bootup messages :-) I'll give that a try, maybe it's trying to start before the networking kicks in or something. I guess I could also try adding say a 30 second delay to the script. Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/