![]() |
autostart for shoutcast on centos 5.3
Hello,
can someone tell me how to set up shoutcast to start automatically when server is started? I'm using centos 5.3. In which folder is better to install shoutcast? Regards |
folder does not matter, as far as I am aware, though I have never used CentOS.
Having said that, I believe the easiest way to get this done for you is via chkconfig. I believe that is what CentOS uses ... http://linuxcommand.org/man_pages/chkconfig8.html You could also accomplish this by creating a cron job entry. |
It is something like here: http://forums.winamp.com/showthread.php?postid=2387398
but i think is an error, because it is not working for me. Any idea? |
No, I don't believe that one is going to work for Cent.
Try code: Yes, it is similar to what you linked, but it is a little different. |
Quote:
My shoutcast is installed under: ./home/shoutcast i have created shoutcastd file with the content specified above, and placed this file in ./etc/init.d/ , but is not working. What i'm doing wrong? Thanks |
Quote:
Any idea? Please help me ! Thanks |
Unfortunately, I am not familiar enough with Cent to lead you in the right direction. I know there are slight differences with that distro when compared to others I have used.
You might be better off posting how do I setup something to auto start in a CentOS user forum. |
But before you do that, give this a shot and see if it works for you.
http://forums.winamp.com/showthread....04#post2487604 |
Quote:
Thank you fc*uk, finally it is working!!! i have added a new cornjob with corntab -e command, and created sc_mon.sh file, and all is working. So if you are using centos, this method is working!!! Thanks again fc*uk! |
Great! I am glad I was finally able to help you get your problem sorted!
|
| All times are GMT. The time now is 15:35. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.