|
|
|
|
#1 |
|
Junior Member
|
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 |
|
|
|
|
|
#2 |
|
Forum Loser
(Forum King) |
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
|
|
|
|
|
|
#3 |
|
Junior Member
|
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 |
|
|
|
|
|
#4 |
|
Junior Member
|
rc.local
slly,
I can live with that. Good idea, thanks ![]() Jakob |
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Jan 2010
Posts: 3
|
Quote:
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|