|
|
|
|
#1 |
|
Senior Member
|
Auto-staring Shoutcast Server on Unix Fedora
Does anyone know how a Shoutcast server can be setup to run automaticly when a unix server boots? I am having problems with a server that is rebooting every now and then and it is a pain to restart the servers automaticly. Is their a cron job or some other way to perform this action on server boot so that the Shoutcast server will start itself with no user help?
Thanks in advance. |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,555
|
On most UNIX systems the "Startup" applications are found in the RC directories -- on standard UNIX, this would be /etc/rc and /etc/rc[N] where N=the system runlevel that starts the contained startup scripts.
This is a setup similar to Windows services -- the directory contains scripts that are called by ie: S90sc_trans start for startables, or "stop" to kill them -- they are executed in filename order, so make sure that you name the file to start after things like TCP [hbtcp?] and other things that your SHOUTcast may need. Look at a few to see how they accomplish their work, also make sure that you "export" any environment that you need in the script. cron is a better way to load things based on time of day, not things that should run at system startup. /* v2 HTML5 / Player test pages DigitalMixNYC, DigitalMixNYCbx | DNAS Status: Now Playing js codes (scaststatus_X.php) | PortForward.com | Upload/Download Speed Test | No-IP.com: Free Dynamic DNS | In the YP | dnasDir */ |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|