diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2013-11-26 19:51:40 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2013-11-26 19:51:40 +0000 |
commit | 67bc216ac2d67adcc9c559a6e661a81d9f07f415 (patch) | |
tree | c20a81e581631392fc4416dbff12980f61260366 /net-misc/icecast/files | |
parent | Don't install the conversion script in /usr/bin to avoid file collisions with... (diff) | |
download | gentoo-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.icecast | 10 |
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 $? +} |