summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2013-11-26 19:51:40 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2013-11-26 19:51:40 +0000
commit67bc216ac2d67adcc9c559a6e661a81d9f07f415 (patch)
treec20a81e581631392fc4416dbff12980f61260366 /net-misc/icecast/files
parentDon't install the conversion script in /usr/bin to avoid file collisions with... (diff)
downloadgentoo-2-67bc216ac2d67adcc9c559a6e661a81d9f07f415.tar.gz
gentoo-2-67bc216ac2d67adcc9c559a6e661a81d9f07f415.tar.bz2
gentoo-2-67bc216ac2d67adcc9c559a6e661a81d9f07f415.zip
Implement missing reload function. Bug #324727
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'net-misc/icecast/files')
-rw-r--r--net-misc/icecast/files/init.d.icecast10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-misc/icecast/files/init.d.icecast b/net-misc/icecast/files/init.d.icecast
index 202ce67ae5e1..1ead74c043ac 100644
--- a/net-misc/icecast/files/init.d.icecast
+++ b/net-misc/icecast/files/init.d.icecast
@@ -1,4 +1,8 @@
#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+extra_started_commands="reload"
depend() {
need net
@@ -15,3 +19,9 @@ stop() {
start-stop-daemon --stop --pidfile /var/run/icecast.pid --name icecast
eend $?
}
+
+reload() {
+ ebegin "Reloading Icecast2 configuration"
+ start-stop-daemon --signal HUP --pidfile /var/run/icecast.pid
+ eend $?
+}