summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-06-16 09:32:32 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-06-16 09:32:32 +0000
commitbb9d9bd2a847ed4bc3520239b57875f65dda8ea1 (patch)
treedde84d4b411902c1cbb73778e471fd0e1465d818 /net-misc/icecast/files
parentadded patch to fix bug 46674 and hopefully 47594 on amd64, alpha, and a few o... (diff)
downloadhistorical-bb9d9bd2a847ed4bc3520239b57875f65dda8ea1.tar.gz
historical-bb9d9bd2a847ed4bc3520239b57875f65dda8ea1.tar.bz2
historical-bb9d9bd2a847ed4bc3520239b57875f65dda8ea1.zip
Added init script to close bug #52414.
Diffstat (limited to 'net-misc/icecast/files')
-rw-r--r--net-misc/icecast/files/digest-icecast-2.0.1-r11
-rw-r--r--net-misc/icecast/files/init.d.icecast17
2 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/icecast/files/digest-icecast-2.0.1-r1 b/net-misc/icecast/files/digest-icecast-2.0.1-r1
new file mode 100644
index 000000000000..0d1f1027a637
--- /dev/null
+++ b/net-misc/icecast/files/digest-icecast-2.0.1-r1
@@ -0,0 +1 @@
+MD5 dc193027769aa49d2223ff06dcc80f5c icecast-2.0.1.tar.gz 750259
diff --git a/net-misc/icecast/files/init.d.icecast b/net-misc/icecast/files/init.d.icecast
new file mode 100644
index 000000000000..39f8a45d1367
--- /dev/null
+++ b/net-misc/icecast/files/init.d.icecast
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting Icecast 2"
+ start-stop-daemon --background --start --pidfile /var/run/icecast.pid --make-pidfile --exec /usr/bin/icecast -- -c /etc/icecast2/icecast.xml
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Icecast 2"
+ start-stop-daemon --stop --pidfile /var/run/icecast.pid --name icecast
+ eend $?
+}