summaryrefslogtreecommitdiff
path: root/multimedia/icecast/files/icecast.init
blob: 355e4b7169c35764534ad09ac9ebbed9c67e2778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh /etc/rc.common
# Example script
# Copyright (C) 2014 OpenWrt.org
 
USE_PROCD=1
START=99
STOP=15

start_service() {
	procd_open_instance
	procd_set_param command /usr/bin/icecast -c /etc/icecast.xml
	procd_set_param respawn
	procd_close_instance
}