mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Muting some unnecessary cleaning errors
This commit is contained in:
parent
34c0588b76
commit
8d467b98ab
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ rm /panic-*.log > /dev/null 2>&1
|
|||
rm /var/log/panic-*.log > /dev/null 2>&1
|
||||
|
||||
clean_home() {
|
||||
nice -n 19 ionice -c 3 find $1/*/tmp/ -type f -delete
|
||||
nice -n 19 ionice -c 3 find $1/*/tmp/ -type f -delete > /dev/null 2>&1
|
||||
find $1/ -name '.wp-cli' -type d -exec rm -rf {} \; > /dev/null 2>&1
|
||||
find $1/*/web/*/public_html/wp-content/aiowps_backups/ -type f -not -name ".htaccess" -not -name "index.php" -not -name "index.html" -not -name "web.config" -delete > /dev/null 2>&1
|
||||
find $1/*/web/*/public_html/wp-content/envato-backups/ -type f -not -name ".htaccess" -not -name "index.php" -not -name "index.html" -not -name "web.config" -delete > /dev/null 2>&1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue