Start shoutcast on boot

This method is for CentOS 6. On newer systems, you may need to use systemd or enable rc-local service for /etc/rc.local to work./

vi /home/shoutcast/shoutcast.sh

Add

#!/bin/bash

killall sc_serv
killall sc_trans_linux
cd /home/shoutcast/
./sc_serv  >/dev/null &
cd /home/shoutcast/sc_trans_040
./sc_trans_linux >/dev/null &

Set permission

chmod 755 /home/shoutcast/shoutcast.sh

To start on boot, we add it to /etc/rc.local

vi /etc/rc.local

At the end of the file add as new line

/home/shoutcast/shoutcast.sh

See Shoutcast

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *