diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-01 16:21:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-01 16:21:50 +0000 |
commit | 460a9fc13cbab0c72c856c2f9b2f32b7f0233268 (patch) | |
tree | b5216daaba38ceea28b3e35aad2fe57674466dbe /media-sound/shoutcast-server-bin/files | |
parent | Stable for HPPA (bug #278597). (diff) | |
download | gentoo-2-460a9fc13cbab0c72c856c2f9b2f32b7f0233268.tar.gz gentoo-2-460a9fc13cbab0c72c856c2f9b2f32b7f0233268.tar.bz2 gentoo-2-460a9fc13cbab0c72c856c2f9b2f32b7f0233268.zip |
Remove the old version that was still running as root.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/shoutcast-server-bin/files')
-rw-r--r-- | media-sound/shoutcast-server-bin/files/shoutcast | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/media-sound/shoutcast-server-bin/files/shoutcast b/media-sound/shoutcast-server-bin/files/shoutcast deleted file mode 100644 index 4bac59751dcd..000000000000 --- a/media-sound/shoutcast-server-bin/files/shoutcast +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/files/shoutcast,v 1.2 2004/08/14 13:38:23 swegener Exp $ - -depend() { - need localmount -} - -checkconfig() { - if ! [ -f /etc/shoutcast/sc_serv.conf ] ; then - eerror "Configuration file /etc/shoutcast/sc_serv.conf does not exist!" - return 1 - fi - - return 0 -} - -start() { - checkconfig || return 1 - - ebegin "Starting Shoutcast Server" - start-stop-daemon --start --quiet --exec /opt/shoutcast/sc_serv /etc/shoutcast/sc_serv.conf & - eend $? -} - -stop() { - ebegin "Stopping Shoutcast Server" - start-stop-daemon --stop --quiet --exec /opt/shoutcast/sc_serv - eend $? -} |