<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Commentaires sur : Créez votre web radio sous Debian/Linux avec Shoutcast</title>
	<link>http://www.generation-libre.com/creez-votre-web-radio-sous-debianlinux-avec-shoutcast/</link>
	<description>Site d'information et d'entraide sur les logiciels libres</description>
	<pubDate>Thu, 17 May 2012 13:04:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>

	<item>
		<title>By: Nicolas Martinez</title>
		<link>http://www.generation-libre.com/creez-votre-web-radio-sous-debianlinux-avec-shoutcast/#comment-82</link>
		<author>Nicolas Martinez</author>
		<pubDate>Thu, 12 Oct 2006 15:17:03 +0000</pubDate>
		<guid>http://www.generation-libre.com/creez-votre-web-radio-sous-debianlinux-avec-shoutcast/#comment-82</guid>
					<description>Le commentaire pour cet articles a été supprimé par erreur.
Toutes mes excuses.</description>
		<content:encoded><![CDATA[<p>Le commentaire pour cet articles a été supprimé par erreur.<br />
Toutes mes excuses.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: shasha</title>
		<link>http://www.generation-libre.com/creez-votre-web-radio-sous-debianlinux-avec-shoutcast/#comment-918</link>
		<author>shasha</author>
		<pubDate>Mon, 21 Dec 2009 10:10:51 +0000</pubDate>
		<guid>http://www.generation-libre.com/creez-votre-web-radio-sous-debianlinux-avec-shoutcast/#comment-918</guid>
					<description>pour le script bash /etc/init.d/shoutcast  c'est sa car ton script ne marche pas.

___________________________

#!/bin/bash

NAME="Mon ShoutCast"

SRV_BIN=/usr/local/bin/sc_serv
SRV_CFG=/etc/sc_serv.conf

# On va faire tourner shoutcast en tant que nobody:nogroup
# On peut bien sur creer un autre user (sans shell,...) si on veut, bien sur
SRV_UID=nobody
SRV_GID=nogroup

SSD_BIN=/sbin/start-stop-daemon
SSD_GENERAL_OPTS="--quiet"

case "$1" in
  start)
        echo "Starting $NAME";
        $SSD_BIN $SSD_GENERAL_OPTS --chuid ${SRV_UID}:${SRV_GID} --user $SRV_UID \
                --group $SRV_GID --start --background --exec $SRV_BIN $SRV_CFG
        ;;
  stop)
        echo "Stopping $NAME";
        $SSD_BIN $SSD_GENERAL_OPTS --chuid ${SRV_UID}:${SRV_GID} --user $SRV_UID \
                --group $SRV_GID --stop --exec $SRV_BIN $SRV_CFG
        ;;
  restart&#124;force-reload)
        echo "Restart";
        ;;
  *)
        echo "Usage: {start&#124;stop&#124;restart&#124;force-reload}" &#62;&#38;2
        exit 1
        ;;
esac</description>
		<content:encoded><![CDATA[<p>pour le script bash /etc/init.d/shoutcast  c&#8217;est sa car ton script ne marche pas.</p>
<p>___________________________</p>
<p>#!/bin/bash</p>
<p>NAME=&#8221;Mon ShoutCast&#8221;</p>
<p>SRV_BIN=/usr/local/bin/sc_serv<br />
SRV_CFG=/etc/sc_serv.conf</p>
<p># On va faire tourner shoutcast en tant que nobody:nogroup<br />
# On peut bien sur creer un autre user (sans shell,&#8230;) si on veut, bien sur<br />
SRV_UID=nobody<br />
SRV_GID=nogroup</p>
<p>SSD_BIN=/sbin/start-stop-daemon<br />
SSD_GENERAL_OPTS=&#8221;&#8211;quiet&#8221;</p>
<p>case &#8220;$1&#8243; in<br />
  start)<br />
        echo &#8220;Starting $NAME&#8221;;<br />
        $SSD_BIN $SSD_GENERAL_OPTS &#8211;chuid ${SRV_UID}:${SRV_GID} &#8211;user $SRV_UID \<br />
                &#8211;group $SRV_GID &#8211;start &#8211;background &#8211;exec $SRV_BIN $SRV_CFG<br />
        ;;<br />
  stop)<br />
        echo &#8220;Stopping $NAME&#8221;;<br />
        $SSD_BIN $SSD_GENERAL_OPTS &#8211;chuid ${SRV_UID}:${SRV_GID} &#8211;user $SRV_UID \<br />
                &#8211;group $SRV_GID &#8211;stop &#8211;exec $SRV_BIN $SRV_CFG<br />
        ;;<br />
  restart|force-reload)<br />
        echo &#8220;Restart&#8221;;<br />
        ;;<br />
  *)<br />
        echo &#8220;Usage: {start|stop|restart|force-reload}&#8221; &gt;&amp;2<br />
        exit 1<br />
        ;;<br />
esac</p>
]]></content:encoded>
				</item>
</channel>
</rss>

