Changeset 104585 in spip-zone


Ignore:
Timestamp:
May 20, 2017, 1:50:10 PM (19 months ago)
Author:
ben.spip@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _acotes_/irc/Edgard.ksh

    r80228 r104585  
    1313echo "c est parti pour edgard"
    1414
    15 for i in 1 2 3
    16 do
    17         ps -e | grep "php"| cut -d" " -f${i} | xargs kill -9
    18         ps -e | grep "php"| cut -d" " -f${i} | xargs kill -9
    19 done
     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
    2017
    2118date
    2219echo "dormons 1 minute"
    23 sleep 3
    24 php /var/www/edgard.spip.net/irc/phergie/phergie.php /var/www/edgard.spip.net/irc/phergie/config.edgard.php &
    25 echo "allez edgard c est l heure d aller au boulot "
     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 TracChangeset for help on using the changeset viewer.