Old 10th January 2004, 04:24   #1
jakobn
Junior Member
 
Join Date: Sep 2003
Location: Los Angeles
Posts: 21
Send a message via ICQ to jakobn Send a message via Yahoo to jakobn
Auto Restart Shoutcast Server on Linux

My Shoutcast server is located remotely and I need a way for my linux server to auto restart the Shoutcast Server if it crashes or if the server is rebooted. Does anyone know how to write a shell script which will do this?

Jakob
suite108.com
jakobn is offline   Reply With Quote
Old 10th January 2004, 04:28   #2
DJHotIce
Forum Loser
(Forum King)
 
DJHotIce's Avatar
 
Join Date: Jan 2003
Location: That place I can't remember the name.
Posts: 4,617
Send a message via AIM to DJHotIce Send a message via Yahoo to DJHotIce
good ole PHP can acomplish this in a way. Tell it to refresh the screen ever x amount of mins, Detect if it's running, if it's not send a command to restart it

-DJHotIce
Bounce Multimedia - Professional Web Design
DJHotIce is offline   Reply With Quote
Old 10th January 2004, 06:07   #3
sllywhtboy
Junior Member
 
Join Date: Feb 2001
Location: Detroit
Posts: 24
Send a message via AIM to sllywhtboy
you could add the server to your startup script, /etc/rc.local

the drawback is that you'll end up starting it as root when it doesnt need that much permission.

--slly
sllywhtboy is offline   Reply With Quote
Old 10th January 2004, 06:51   #4
jakobn
Junior Member
 
Join Date: Sep 2003
Location: Los Angeles
Posts: 21
Send a message via ICQ to jakobn Send a message via Yahoo to jakobn
rc.local

slly,

I can live with that. Good idea, thanks

Jakob
jakobn is offline   Reply With Quote
Old 27th January 2010, 12:30   #5
fusionbird3
Junior Member
 
Join Date: Jan 2010
Posts: 3
Quote:
Originally posted by DJHotIce
good ole PHP can acomplish this in a way. Tell it to refresh the screen ever x amount of mins, Detect if it's running, if it's not send a command to restart it
Can i restart the shoutcast via web ?
fusionbird3 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump