aboutsummaryrefslogtreecommitdiffstats
path: root/main/icecast/icecast.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-05-16 12:03:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-05-16 12:03:58 +0000
commitd82e502b6322313f28d8f78e959162dc43055a18 (patch)
tree4d9b545839106e96dd8d624830c9006dcf41deea /main/icecast/icecast.initd
parentedbb3a0c527c339a69ea5c46dfedc88596eb61ed (diff)
downloadaports-d82e502b6322313f28d8f78e959162dc43055a18.tar.bz2
aports-d82e502b6322313f28d8f78e959162dc43055a18.tar.xz
main/icecast: moved from testing
Diffstat (limited to 'main/icecast/icecast.initd')
-rw-r--r--main/icecast/icecast.initd19
1 files changed, 19 insertions, 0 deletions
diff --git a/main/icecast/icecast.initd b/main/icecast/icecast.initd
new file mode 100644
index 0000000000..b30027b2fe
--- /dev/null
+++ b/main/icecast/icecast.initd
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+ after firewall
+}
+
+start() {
+ ebegin "Starting Icecast 2"
+ start-stop-daemon --start --exec /usr/bin/icecast \
+ -- ${ICEC_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Icecast 2"
+ start-stop-daemon --stop --exec /usr/bin/icecast
+ eend $?
+}