icecast | running on port 80

Icecast should run as user icecast2. But if he should listen on port 80, you run into trouble, cs nonprivileged users can't use privileged ports (lower 1024). You can do the following trick: Modify the /etc/default/icecast2 file, change the user to root. Then it will start as root, open the port 80, and then switch to the -user (icecast2) defined in icecast.xml. Ans voila, all is fine.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.