This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Stopping HTTPD" | |
service httpd stop &>/dev/null | |
killall httpd &>/dev/null | |
rm -rf /tmp/sess_* | |
find /home/share -name 'error_log' -exec rm -rf {} \; | |
find /home/*/public_html -name 'error_log' -exec rm -rf {} \; | |
find /var/www/apache -name 'error_log' -exec rm -rf {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#### TODO LIST #### | |
# on dissconnect put message "hes dead jim!" | |
# put child procs pid number into a global variable | |
# while no socket check and empty the queue | |
################### | |
import sys, os, random, time, socket, errno, thread, binascii, struct, unicodedata | |
try: |
NewerOlder