From 347819236ff5cdfe3c69ab6cc3c1999dff0dd6ba Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Sep 2008 23:12:48 +0000 Subject: * Cleanup php fastcgi files better * Remove *.tmp files --- etc/phpshellsessions/cvssync | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index 1ed4716..a58a6c9 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -160,7 +160,8 @@ echo "Your system is now sync'd and PHP and Lighty will be restarted in 5 second function post_cvssync_commands() { echo "===> Removing FAST-CGI temporary files...\n"; - exec("find /tmp -name \"*php*\" -exec rm -rf {} \;"); + exec("find /tmp -name \"php-fastcgi.socket*\" -exec rm -rf {} \;"); + exec("find /tmp -name \"*.tmp\" -exec rm -rf {} \;"); exec("rm -rf /tmp/xcache/* 2>/dev/null"); -- cgit v1.1