Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   Auto-staring Shoutcast Server on Unix Fedora (http://forums.winamp.com/showthread.php?t=207601)

darkstar2002c 12th February 2005 18:46

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.

djSpinnerCee 12th February 2005 20:29

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.


All times are GMT. The time now is 20:48.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.