source: spip-zone/_acotes_/irc/Edgard.ksh @ 104585

Last change on this file since 104585 was 104585, checked in by ben.spip@…, 4 years ago

Commitons un peu ... changement hébergement ... kill ne prenait pas tout

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1#!/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
11echo "-----------------------------------------------------------------" 
12date
13echo "c est parti pour edgard" 
14
15ps -edf  | grep "phergie" | grep -v grep | sed -e "s/  / /g" | sed -e "s/  / /g" | sed -e "s/  / /g" | sed -e "s/  / /g" | cut -d" " -f2 | xargs kill -9
16ps -edf  | grep "phergie" | grep -v grep | sed -e "s/  / /g" | sed -e "s/  / /g" | sed -e "s/  / /g" | sed -e "s/  / /g" | cut -d" " -f2 | xargs kill -9
17
18date
19echo "dormons 1 minute" 
20sleep 10 
21php /home/sites_manuel/spip.net/edgard/irc/phergie/phergie.php /home/sites_manuel/spip.net/edgard/irc/phergie/config.edgard.php
22
23echo "allez edgard c est l heure d aller au boulot " 
Note: See TracBrowser for help on using the repository browser.