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./
1 |
vi /home/shoutcast/shoutcast.sh |
Add
1 2 3 4 5 6 7 8 |
#!/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
1 |
chmod 755 /home/shoutcast/shoutcast.sh |
To start on boot, we add it to /etc/rc.local
1 |
vi /etc/rc.local |
At the end of the file add as new line
1 |
/home/shoutcast/shoutcast.sh |
See Shoutcast