polynomial-c    14/05/23 17:14:14

  Added:                init.d.icecast-2
  Log:
  Version bump. Removed old. Added rewritten init script
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0x981CA6FC)

Revision  Changes    Path
1.1                  net-misc/icecast/files/init.d.icecast-2

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icecast/files/init.d.icecast-2?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icecast/files/init.d.icecast-2?rev=1.1&content-type=text/plain

Index: init.d.icecast-2
===================================================================
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

extra_started_commands="reload"

pidfile="/var/run/icecast.pid"
command="/usr/bin/icecast"
command_args="-c /etc/icecast2/icecast.xml"
command_background="true"

depend() {
        need net
}

reload() {
        ebegin "Reloading Icecast2 configuration"
        start-stop-daemon --signal HUP --pidfile ${pidfile}
        eend $?
}




Reply via email to