Old 12th February 2005, 18:46   #1
darkstar2002c
Senior Member
 
Join Date: Oct 2003
Location: Fort Collins, CO.
Posts: 102
Send a message via AIM to darkstar2002c Send a message via Yahoo to darkstar2002c
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.
darkstar2002c is offline   Reply With Quote
Old 12th February 2005, 20:29   #2
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
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.
djSpinnerCee 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