Pork Center

Shoutcast

De Hack-it.org.

(Commandes :)
 
Ligne 3 : Ligne 3 :
==Commandes :==
==Commandes :==
*lancer la server : /home/shoutcast/sc_serv/./sc_serv
*lancer la server : /home/shoutcast/sc_serv/./sc_serv
-
*lancer le flux : /home/shoutcast/sc_trans./sc_trans_linux
+
*lancer le flux : cd /home/shoutcast/sc_trans/ ; ./sc_trans_linux
*commande sc_trans_linux :
*commande sc_trans_linux :
Ligne 15 : Ligne 15 :
kill -s USR1 `ps ax | grep sc_trans | grep -v grep | cut -c1-5`
kill -s USR1 `ps ax | grep sc_trans | grep -v grep | cut -c1-5`
 +
*foutre la pl a jour
 +
find /home/shoutcast/mp3 -type f -name "*.mp3" > /home/shoutcast/mp3/playlist.lst
-
et pour l'arrêter :
+
*et pour l'arrêter (flux, server):
-
[04:59] <Txuus> 1210 [01:18:50] <@FlUnKoUt> killall sc_trans_linux -WINCH
+
kill `ps ax | grep sc_trans | grep -v grep | cut -c1-5`
-
[04:59] <Txuus> 1450 [02:52:59] <@FlUnKoUt> ou killall -HUP sc_trans
+
 
 +
kill `ps ax | grep sc_serv | grep -v grep | cut -c1-5`
==connerie a défaire==
==connerie a défaire==

Version actuelle en date du 21 août 2007 à 02:59