--- /dev/null
+#!/bin/bash
+
+# Pour envoyer une instructions à tous les bots en même temps
+
+bots=('basile' 'deconnaisseur' 'hung' 'historien' 'salesman' 'saturnin' 'themis') # 'ibot')
+
+cmd=$1
+case $cmd in
+ kill)
+ echo "Warning, killing all processes of users : ${bots[*]}"
+ for bot in ${bots[*]}
+ do
+ sudo pkill -u $bot
+ done
+ ;;
+ start|stop|restart|reload)
+ for bot in ${bots[*]}
+ do
+ sudo service $bot $cmd
+ done
+ ;;
+ status)
+ for bot in ${bots[*]}
+ do
+ service $bot $cmd
+ done
+ ;;
+ update|pull|maj)
+ for bot in ${bots[*]}
+ do
+ cd /home/$bot/$bot
+ sudo -u $bot git pull
+ done
+ ;;
+ list|who)
+ echo "Liste des bots : ${bots[*]}"
+ ;;
+ *)
+ echo "Usage: all_bots {kill|start|stop|reload|restart|update|status}"
+ ;;
+esac
--- /dev/null
+#!/bin/bash
+
+# Relancer les process ii habituellement lancés sur cerebro
+# Obsolète, j'utilise maintenant KGB
+
+# Just in case
+killall ii
+
+ii -i /home/vincent/iirc/gitTest/ -s irc.crans.org -n gitTest &
+echo "/j #tests" > /home/vincent/iirc/gitTest/irc.crans.org/in
+
+ii -i /home/vincent/iirc/gitThemis/ -s irc.crans.org -n gitThemis &
+echo "/j #déprime" > /home/vincent/iirc/gitThemis/irc.crans.org/in
+
+ii -i /home/vincent/iirc/git20-100/ -s irc.crans.org -n git20-100 &
+echo "/j #note" > /home/vincent/iirc/git20-100/irc.crans.org/in