Skip to content

Instantly share code, notes, and snippets.

@j0inty
Last active October 7, 2016 11:56
Show Gist options
  • Save j0inty/e7be4e6dac9b246f44dac4f06dc6dca0 to your computer and use it in GitHub Desktop.
Save j0inty/e7be4e6dac9b246f44dac4f06dc6dca0 to your computer and use it in GitHub Desktop.
Icecast2 Streaming Client conf.d File for OpenRC
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# Config location
CONFIG_FILE="/etc/icecast2/ezstream.xml"
# Should be the same as setup in CONFIG_FILE
# Be sure the user setup under RUNAS has read access on it
FILES_DIR="/home/j0inty/Traktor/Public/Exercises"
# see manual page from ezstream
EZSTREAM_OPTS=""
# Pidfile location of Icecast2 Streaming Client
PIDFILE="/run/icecast2/ezstream.pid"
# log file location
LOGFILE="/var/log/isecast2/ezstream.log"
# User and Group Id
RUNAS_USER="icecast"
RUNAS_GROUP="nogroup"
# Does the icecast running on the same machine, then the
# depend() function will use the "need icecast" as dependcy
LOCAL_ICECAST="yes"
# Take the FORMAT and scan recursive the FILES_DIR and create the PLAYLIST on startup
AUTO_GENERATE_PLAYLIST="yes"
# Path to file for the playlist if AUTO_GENERATE_PLAYLIST="yes"
PLAYLIST="/run/icecast2/playlist.m3u"
# How are the files in FILES_DIR encoded
FORMAT="mp3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment