Changeset 55160 in spip-zone for _acotes_


Ignore:
Timestamp:
Dec 6, 2011, 12:10:34 PM (7 years ago)
Author:
ben.spip@…
Message:

Edgard et EdgardII ... tous ensemble, tous ensemble tous !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _acotes_/irc/Edgard.ksh

    r53759 r55160  
    11#!/bin/bash
     2#install de phergie
     3# cd /var/www/edgard.spip.org/irc/
     4# svn co svn://zone.spip.org/spip-zone/_acotes_/irc/phergie phergie_svn
     5# git clone git://github.com/elazar/phergie.git
     6# cd /var/www/edgard.spip.org/irc/phergie
     7# ln -s ../phergie_svn/config.edgard.php config.edgard.php
     8# cd /var/www/edgard.spip.org/irc/phergie/Phergie/Plugin
     9# ln -s ../../../phergie_svn/Phergie/Plugin/Edgard.php Edgard.php
     10
    211export PERL5LIB=/var/www/edgard.spip.org/irc:$PERL5LIB
    312echo "-----------------------------------------------------------------"
     
    615echo "Perl5LIB:"
    716echo $PERL5LIB
     17ps -e | grep "Edgard.pl"| cut -d" " -f1 | xargs kill -9
    818ps -e | grep "Edgard.pl"| cut -d" " -f2 | xargs kill -9
    9 ps -e | grep "Edgard.pl"| cut -d" " -f2 | xargs kill -9
    10 ps -e | grep "Edgard.pl"| cut -d" " -f2 | xargs kill -9
     19ps -e | grep "php"| cut -d" " -f1 | xargs kill -9
     20ps -e | grep "php"| cut -d" " -f2 | xargs kill -9
    1121
    1222date
    1323echo "dormons 1 minute"
    14 sleep 10
     24sleep 3
     25php /var/www/edgard.spip.org/irc/phergie/phergie.php /var/www/edgard.spip.org/irc/phergie/config.edgard.php &
     26/var/www/edgard.spip.org/irc/Edgard.pl
    1527echo "allez edgard c est l heure d aller au boulot "
    16 /var/www/edgard.spip.org/irc/Edgard.pl
Note: See TracChangeset for help on using the changeset viewer.