This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
[icecast] use procd for init script
Signed-off-by: André Gaul <gaul@web-yard.de>
lilik-openwrt-22.03
André Gaul
11 years ago
parent
ad4f81a2f5
commit
66b13d6ca7
1 changed files
with
6 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-6
multimedia/icecast/files/icecast.init
+ 6
- 6
multimedia/icecast/files/icecast.init
View File
@ -2,13 +2,13 @@
# Example script
# Copyright (C) 2014 OpenWrt.org
USE_PROCD=1
START=99
STOP=15
start() {
service_start /usr/bin/icecast -c /etc/icecast.xml -b
}
stop() {
service_stop /usr/bin/icecast
start_service() {
procd_open_instance
procd_set_param command /usr/bin/icecast -c /etc/icecast.xml
procd_set_param respawn
procd_close_instance
}
Write
Preview
Loading…
Cancel
Save