To autostart icecast using systemd, create a unit file
vi /etc/systemd/system/icecast.service
Add following content
[Unit]
Description=Icecast Network Audio Streaming Server
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/icecast -c /etc/icecast/icecast.xml
ExecReload=/bin/kill -HUP $MAINPID
User=icecast
Group=icecast
WorkingDirectory=/home/icecast/
[Install]
WantedBy=multi-user.target
Enable icecast to start on boot with
systemctl enable icecast
To start/stop/restart icecast, use
systemctl start icecast
systemctl stop icecast
systemctl restart icecast