From 8abe4c88585a25c5b14e672a8ae9773e19f695c4 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 7 Aug 2011 17:34:38 +0200 Subject: icecrab/*: new module icecrab, icecast for krebs Contains a makefile which installs icecast and configures it accordingly --- icecrab/Makefile | 6 ++ icecrab/icecast.xml | 174 ++++++++++++++++++++++++++++++++++++++++++++++++++++ icecrab/icecast2 | 19 ++++++ 3 files changed, 199 insertions(+) create mode 100644 icecrab/Makefile create mode 100644 icecrab/icecast.xml create mode 100644 icecrab/icecast2 (limited to 'icecrab') diff --git a/icecrab/Makefile b/icecrab/Makefile new file mode 100644 index 00000000..36e91b76 --- /dev/null +++ b/icecrab/Makefile @@ -0,0 +1,6 @@ +.phony: debian + +debian: + [ -e /usr/bin/icecast2 ] || apt-get install --yes icecast2 + cp icecast2 /etc/default/icecast2 + cp icecast.xml /etc/icecast2/icecast.xml diff --git a/icecrab/icecast.xml b/icecrab/icecast.xml new file mode 100644 index 00000000..7776dc36 --- /dev/null +++ b/icecrab/icecast.xml @@ -0,0 +1,174 @@ + + + 100 + 2 + 5 + 524288 + 30 + 15 + 10 + + 1 + + 65535 + + + + + shackit + + shackit + + + admin + aidsballs + + + + + + + + + krebs.shack + + + + 8000 + + + + + + + + + + + + + + + + + + 1 + + + + /usr/share/icecast2 + + + /var/log/icecast2 + /usr/share/icecast2/web + /usr/share/icecast2/admin + + + + + + + + + + access.log + error.log + + 3 + 10000 + + + + + + 0 + + + diff --git a/icecrab/icecast2 b/icecrab/icecast2 new file mode 100644 index 00000000..3a2521ff --- /dev/null +++ b/icecrab/icecast2 @@ -0,0 +1,19 @@ +# Defaults for icecast2 initscript +# sourced by /etc/init.d/icecast2 +# installed at /etc/default/icecast2 by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Full path to the server configuration file +CONFIGFILE="/etc/icecast2/icecast.xml" + +# Name or ID of the user and group the daemon should run under +USERID=icecast2 +GROUPID=icecast + +# Edit /etc/icecast2/icecast.xml and change at least the passwords. +# Change this to true when done to enable the init.d script +ENABLE=true + -- cgit v1.2.3