|
|
#1 |
|
Junior Member
Join Date: Jan 2010
Posts: 6
|
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 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
|
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. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2010
Posts: 6
|
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? |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
|
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. |
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Jan 2010
Posts: 6
|
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 |
|
|
|
|
|
|
#6 | |
|
Junior Member
Join Date: Jan 2010
Posts: 6
|
Quote:
Any idea? Please help me ! Thanks |
|
|
|
|
|
|
#7 |
|
Moderator
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
|
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. |
|
|
|
|
|
#8 |
|
Moderator
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
|
But before you do that, give this a shot and see if it works for you.
http://forums.winamp.com/showthread....04#post2487604 |
|
|
|
|
|
#9 | |
|
Junior Member
Join Date: Jan 2010
Posts: 6
|
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! |
|
|
|
|
|
|
#10 |
|
Moderator
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
|
Great! I am glad I was finally able to help you get your problem sorted!
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|