diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-16 12:03:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-16 12:03:58 +0000 |
commit | d82e502b6322313f28d8f78e959162dc43055a18 (patch) | |
tree | 4d9b545839106e96dd8d624830c9006dcf41deea /main/icecast/icecast.initd | |
parent | edbb3a0c527c339a69ea5c46dfedc88596eb61ed (diff) | |
download | aports-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.initd | 19 |
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 $? +} |