Fix: LiveStatus : do not close the socket before we are sure the other peer send...
[shinken.git] / clean.sh
blob1b709efb74fb1b11d4df5059ee4552e1cc1abec0
1 #!/bin/sh
2 sudo rm -fr /usr/local/lib/python2.6/dist-packages/Shinken-*-py2.6.egg
3 sudo rm -fr /usr/local/bin/shinken-*
4 sudo rm -fr /usr/bin/shinken-*
5 sudo rm -fr build
6 sudo rm -fr Shinken.egg-info
7 sudo rm -fr dist
8 sudo rm -fr /etc/shinken
9 sudo rm -fr /etc/init.d/shinken*
10 sudo rm -fr /var/lib/shinken
11 sudo rm -fr test/var/*.pid
12 sudo rm -fr var/*.debug
13 sudo rm -fr var/*.log
14 sudo rm -fr var/*.pid
15 sudo rm -fr var/service-perfdata
16 sudo rm -fr var/*.dat
17 sudo rm -fr var/*.profile
18 sudo rm -fr var/*.cache
19 sudo rm -fr var/rw/*cmd
20 sudo rm -fr /tmp/retention.dat
21 sudo rm -fr /tmp/*debug
22 sudo rm -fr /etc/default/shinken
24 #Then kill remaining processes
25 killall -9 python2.6 2> /dev/null
26 killall -9 python 2> /dev/null
27 killall -9 /usr/bin/python 2> /dev/null