Old 28th January 2013, 14:32   #1
Senior Member
Join Date: Oct 2011
Posts: 105
start sc_serv & sc_trans on linux boot up


Anyone knows how to add sc_serv and sc_trans on boot up? I'm using linux CENTOS.

I want the service to start when my unix server reboots instead of I always having to SH into the server and start it up manually.

Thanks in advance!
ridz is offline   Reply With Quote
Old 30th January 2013, 23:58   #2
Join Date: Oct 2008
Location: Jacksonville, FL
Posts: 72
You can use a cron job to start these up. Doing a quick search on cron jobs should explain how to do one
nwgator is offline   Reply With Quote
Old 10th February 2013, 05:03   #3
Senior Member
Join Date: Oct 2011
Posts: 105
cron job is a scheduled task right? it will not start when the server restarts.

i want shoutcast to start automatically whenever i restart the server. Is that possible?
ridz is offline   Reply With Quote
Old 10th February 2013, 17:15   #4
Forum King
thinktink's Avatar
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,941
Send a message via Skype™ to thinktink
There's a reason why the init scripts don't already exist. It's because not all flavors of Linux have the same requirements and setup for at-boot startup. You would need to consult the man-page for your particular flavor of Linux (usually init.d) for how to create your init scripts for the SHOUTcast tools.

There are also many DIY and How-To guides for generic daemon init scripts.


A cron job would kinda work but you also have to realize that just using a cron job to start the SHOUTcast tools would also be a waste of resources to have new instances being started every x minutes/seconds flooding your system with defunct processes. If you really want a quick and dirty solution to your daemon woes then you should take a look at my start/stop scripts I made a while back:

Even if you go with a proper daemon init script it would be a good idea to review the scripts I wrote to see how to generate a PID file so that the system can determine what to do when shutting down as well.
thinktink is offline   Reply With Quote
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast Discussions

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